[aarch64-port-dev ] JDK8: Get BUILTIN_SIM working again
Edward Nevill
ed at lab.validation.linaro.org
Tue Aug 5 14:52:00 UTC 2014
Oops,
The encode_iso_array patch broke the builtin sim image because it tries to execute uqxtn instructions.
The following patch gets it going again.
Maybe we need a 'UseSIMD' which can be set false for BUILTIN_SIM build and the intrinsics in aarch64.ad can use predicate(UseSimd)?
Regards,
Ed.
--- CUT HERE ---
diff -r 1a507fdf6de6 src/cpu/aarch64/vm/macroAssembler_aarch64.cpp
--- a/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp Mon Aug 04 18:03:53 2014 +0100
+++ b/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp Tue Aug 05 15:46:21 2014 +0100
@@ -3625,6 +3625,7 @@
mov(result, len); // Save initial len
+#ifndef BUILTIN_SIM
subs(len, len, 32);
br(LT, LOOP_8);
@@ -3663,6 +3664,9 @@
BIND(LOOP_1);
adds(len, len, 8);
br(LE, DONE);
+#else
+ cbz(len, DONE);
+#endif
BIND(NEXT_1);
ldrh(tmp1, Address(post(src, 2)));
tst(tmp1, 0xff00);
--- CUT HERE ---
More information about the aarch64-port-dev
mailing list