[Sound-open-firmware] Hifi4 DSP
Laurent Ovaert
sid6582 at msn.com
Wed Jul 27 17:13:38 CEST 2022
Hi Daniel,
Thanks for your prompt answers.
I am at the design stage of my project where i need to choose the SoC and i'm considering using the T113-S3 (dual Cortex-A7 with 128MB integrated DRAM + hifi4 DSP (64KB/64KB)). I understand it is not supported by SOF.
My project is heavily audio DSP centric so I need to make sure i can use the hifi4 DSP since the NEON implementation on Cortex-A7 is quite poor.
Like i said i can cope with only using hifi4 asm for my audio algorithms.
So that led me to the SOF project., but to be honest i'm still unclear on what I can do.
To get me started it would be great to use a platform supported by SOF with a HIFI4 like i.MX8, create a simple component like Volume (in Hifi4 C) that calls Hifi4 asm code, and execute/debug it with QEMU.
Thanks,
Laurent
________________________________
From: Daniel Baluta <daniel.baluta at nxp.com>
Sent: Wednesday, July 27, 2022 2:43:50 PM
To: Laurent Ovaert <sid6582 at msn.com>; sound-open-firmware at alsa-project.org <sound-open-firmware at alsa-project.org>
Subject: Re: Hifi4 DSP
Hi Laurent,
What platform are you using?
Have a lookt at gcc toolchai for SOF here:
https://github.com/thesofproject/crosstool-ng/releases
Pure xtensa assembly code should "just work" most of the time.
As for Qemu support last time I tested booting the dsp worked fine.
https://github.com/thesofproject/qemu
thanks,
Daniel.
________________________________
From: Sound-open-firmware <sound-open-firmware-bounces at alsa-project.org> on behalf of Laurent Ovaert <sid6582 at msn.com>
Sent: Wednesday, July 27, 2022 12:21 PM
To: sound-open-firmware at alsa-project.org <sound-open-firmware at alsa-project.org>
Subject: [Sound-open-firmware] Hifi4 DSP
Dear list,
I wonder how much is the Hifi4 DSP supported in sof for the GCC (not XCC) toolchain ?
I am a DSP engineer not part of an organization and i cannot get XCC from Cadence so i really count on GCC.
I read in the FAQs that GCC has no Hifi SIMD support. Does it mean just no intrinsics support and of course no chance for auto-vectorization ?
What about writing pure Hifi4 assembly code?
When building the lx7hifi4-gcc10.2-gdb9 toolchain, can the assembler actually assemble Hifi4 code without restriction ? What about qemu support for Hifi4 ?
I am surprised Cadence is not giving the compiler or at least the assrmbler for the Hifi4 :-/
Thanks,
Laurent
_______________________________________________
Sound-open-firmware mailing list
Sound-open-firmware at alsa-project.org
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.alsa-project.org%2Fmailman%2Flistinfo%2Fsound-open-firmware&data=05%7C01%7Cdaniel.baluta%40nxp.com%7C4e0d9031977c4f806e0b08da6fb16a64%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C637945105030073608%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=xNtpQq0Olk%2Bn9PDw7aF4XedidBhjT9Ame8P5SzhHuQc%3D&reserved=0
More information about the Sound-open-firmware
mailing list