Displaying 2 results from an estimated 2 matches for "cihcjfjg".
2013 Jun 12
0
[LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode"
....app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 ./src/asm.s -o asm.o
./src/asm.s:30:5: error: instruction requires a CPU feature not currently enabled
add r2, pc, r2
According to ARM <http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0489c/Cihcjfjg.html> specification:
[http://infocenter.arm.com/help/topic/com.arm.doc.common/images/triangle_down.png]Use of PC and SP in Thumb instructions
In most of these instructions, you cannot use PC (R15) for Rd, or any operand.
The exceptions are:
*
you can use PC for Rn in 32-bit Thumb ADD and SUB i...
2013 Jun 12
4
[LLVMdev] Apple clang 4.2 based on llvm 3.2 produces a wrong "instruction requires:arm-mode"
Hi,
I've got an assembly file which used to compile with previous clang versions. However with 4.2 I get the following error:
admin$
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-arch armv7 ./src/asm.s -o asm.o
./src/asm.s:30:5: error: instruction requires
a CPU feature not currently enabled
add r2, pc, r2
According to ARM