<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:nicolasweber@gmx.de" title="Nico Weber <nicolasweber@gmx.de>"> <span class="fn">Nico Weber</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Immediates that need shifts are misassembled for ARM"
href="https://llvm.org/bugs/show_bug.cgi?id=23000">bug 23000</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Immediates that need shifts are misassembled for ARM"
href="https://llvm.org/bugs/show_bug.cgi?id=23000#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Immediates that need shifts are misassembled for ARM"
href="https://llvm.org/bugs/show_bug.cgi?id=23000">bug 23000</a>
from <span class="vcard"><a class="email" href="mailto:nicolasweber@gmx.de" title="Nico Weber <nicolasweber@gmx.de>"> <span class="fn">Nico Weber</span></a>
</span></b>
<pre>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@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@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
^</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>