[aarch64-port-dev ] jdk8: Get BUILTIN_SIM working again
Edward Nevill
edward.nevill at linaro.org
Tue Aug 5 14:57:20 UTC 2014
Oops,
The encode_iso_array patch broke the BUILTIN_SIM image because it executes uqxtn instructions.
The following patch gets it going again.
Maybe we should create 'UseSIMD' and set it to false for BUILTIN_SIM and use predicate(UseSIMD) in aarch64.ad?
Regards,
Ed.
--- CUT HERE ---
# HG changeset patch
# User Edward Nevill edward.nevill at linaro.org
# Date 1407250586 -3600
# Tue Aug 05 15:56:26 2014 +0100
# Node ID 2dfe9abe27fe6c9231e64ebd66e7ca3e6fb5b2bf
# Parent 1a507fdf6de65e387fe15c382a31f3353878b820
Get builtin sim image working again
diff -r 1a507fdf6de6 -r 2dfe9abe27fe 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:56:26 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