[llvm-bugs] [Bug 23000] Immediates that need shifts are misassembled for ARM
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Aug 8 11:31:30 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=23000
Nico Weber <nicolasweber at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #11 from Nico Weber <nicolasweber at gmx.de> ---
This isn't fixed for boringssl in a chromium bug (which is probably the same
source that the openssl bit is reduced from). Maybe it's due to thumb:
thakis at thakis:~/src/chrome/src/out/gnand$ cat
../../third_party/boringssl/linux-arm/crypto/aes/bsaes-armv7.S
.arch armv7-a
.fpu neon
.text
.syntax unified @ ARMv7-capable assembler is expected to handle this
.thumb
.type _bsaes_decrypt8,%function
.align 4
_bsaes_decrypt8:
adr r6,_bsaes_decrypt8
vldmia r4!, {q9} @ round 0 key
add r6,r6,#.LM0ISR-_bsaes_decrypt8
.type _bsaes_const,%object
.align 6
_bsaes_const:
.LM0ISR:@ InvShiftRows constants
.quad 0x0a0e0206070b0f03, 0x0004080c0d010509
thakis at thakis:~/src/chrome/src/out/gnand$
../../third_party/llvm-build/Release+Asserts/bin/clang
-B../../third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin
--target=arm-linux-androideabi -march=armv7-a -mfloat-abi=softfp -mthumb
-mtune=generic-armv7-a -mfpu=neon -g2
--sysroot=../../third_party/android_tools/ndk/platforms/android-16/arch-arm -c
../../third_party/boringssl/linux-arm/crypto/aes/bsaes-armv7.S
../../third_party/boringssl/linux-arm/crypto/aes/bsaes-armv7.S:13:12: error:
invalid operand for instruction
add r6,r6,#.LM0ISR-_bsaes_decrypt8
^
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160808/1847bcc0/attachment.html>
More information about the llvm-bugs
mailing list