0

我正在尝试.o在 Ubuntu 上使用arm-linux-gnueabi-as. 这是我的一组说明:

.thumb

.globl _start
_start:

cmp r0, r2
VST1.32 {D16-D17}, [R2]

当我运行时:arm-linux-gnueabi-as -mthumb thumb.s -o thumb.o 我收到此错误: thumb.s:7: Error: selected processor does not support Thumb mode `vst1.32 {D16-D17},[R2]'

我试过使用参数-mcpu=<cpu name>-march=<arch name>like -mcpu=cortex-m4-march=armv7-m但我仍然遇到同样的错误。

有没有办法模拟另一个 CPU 来获取拇指指令集?

4

1 回答 1

3

您需要指定-mfpu=neon.

于 2015-10-27T22:41:30.713 回答