5d847512a3
- updated to aarch64-shenandoah-jdk8u151-b12 (from aarch64-port/jdk8u-shenandoah) of hotspot - used aarch64-port-jdk8u-aarch64-jdk8u151-b12.tar.xz as new sources - used aarch64-port-jdk8u-shenandoah-aarch64-shenandoah-jdk8u151-b12.tar.xz as new sources for hotspot - tapset updated to 3.6pre02 - policies adapted to new limited/unlimited schmea - above acomapnied by c-j-c 3.3 - alligned patches and added PPC ones (thanx to gnu_andrew) - added patch209: 8035496-hotspot.patch - added patch210: suse_linuxfilestore.patc
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
# HG changeset patch
|
|
# User mdoerr
|
|
# Date 1480079712 7200
|
|
# Fri Nov 25 11:15:12 2016 -0200
|
|
# Node ID 3c499a0ba92b1affb3f473c6502e374f4785aba9
|
|
# Parent 9b9d9e11c04d5e5f64829d34752e5c94b1c7d911
|
|
8170328, PR3466, RH1498321: PPC64: Use andis instead of lis/and
|
|
Reviewed-by: goetz, mdoerr
|
|
Contributed-by: Igor Nunes <igor.nunes@eldorado.org.br>
|
|
|
|
diff --git a/src/cpu/ppc/vm/ppc.ad b/src/cpu/ppc/vm/ppc.ad
|
|
--- openjdk/hotspot/src/cpu/ppc/vm/ppc.ad
|
|
+++ openjdk/hotspot/src/cpu/ppc/vm/ppc.ad
|
|
@@ -8889,6 +8889,19 @@
|
|
ins_pipe(pipe_class_default);
|
|
%}
|
|
|
|
+// Left shifted Immediate And
|
|
+instruct andI_reg_immIhi16(iRegIdst dst, iRegIsrc src1, immIhi16 src2, flagsRegCR0 cr0) %{
|
|
+ match(Set dst (AndI src1 src2));
|
|
+ effect(KILL cr0);
|
|
+ format %{ "ANDIS $dst, $src1, $src2.hi" %}
|
|
+ size(4);
|
|
+ ins_encode %{
|
|
+ // TODO: PPC port $archOpcode(ppc64Opcode_andis_);
|
|
+ __ andis_($dst$$Register, $src1$$Register, (int)((unsigned short)(($src2$$constant & 0xFFFF0000) >> 16)));
|
|
+ %}
|
|
+ ins_pipe(pipe_class_default);
|
|
+%}
|
|
+
|
|
// Immediate And
|
|
instruct andI_reg_uimm16(iRegIdst dst, iRegIsrc src1, uimmI16 src2, flagsRegCR0 cr0) %{
|
|
match(Set dst (AndI src1 src2));
|