[opus] Errors when compiling for ARM Cortex-M4
Dominic Levesque
levesquedominic at hotmail.com
Wed Oct 15 10:03:03 PDT 2014
Hi,
I had the following errors when compiling the library for Cortex-m4 (-mcpu=cortex-m4) using the GNU compiler for ARM (gcc-arm-none-eabi-4_8).
CPPAS celt/arm/celt_pitch_xcorr_arm-gnu.locelt/arm/celt_pitch_xcorr_arm-gnu.S: Assembler messages:celt/arm/celt_pitch_xcorr_arm-gnu.S:299: Error: thumb conditional instruction should be in IT block -- `ldrgt r12,[r4],#4'celt/arm/celt_pitch_xcorr_arm-gnu.S:317: Error: thumb conditional instruction should be in IT block -- `ldrhgt r14,[r4],#2'celt/arm/celt_pitch_xcorr_arm-gnu.S:327: Error: thumb conditional instruction should be in IT block -- `ldrhgt r12,[r4],#2'celt/arm/celt_pitch_xcorr_arm-gnu.S:335: Error: thumb conditional instruction should be in IT block -- `ldrhgt r14,[r4]'[...]
Adding the IT instructions seems to solve the issue.
Should this be fixed or am I missing something?
Thanks
Dominic Levesque
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20141015/fd859cf1/attachment.htm
More information about the opus
mailing list