mupq / pqm4

Post-quantum crypto library for the ARM Cortex-M4
296 stars 75 forks source link

build error using Keil #326

Open qinleiyong opened 10 months ago

qinleiyong commented 10 months ago

My Keil version is V5.33. When I try to compile the kyber748 project alone, a lot of errors appear:(12): error: invalid instruction :ubfx.w tmp, tmp4, #0, #12;(4): error: too many operands for instruction ldrh.w tmp2, [aptr], #6;...........................My compile options are "Assembler option = armclang(Auto select) ".

rpls commented 10 months ago

I'm not familiar with the Keil toolchain, I guess they have a Clang based compiler? I think most assembly files assume a GCC/Binutiles based tool chain. Which MCU are you targeting?