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
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
# HG changeset patch
|
|
# User goetz
|
|
# Date 1477563748 -7200
|
|
# Thu Oct 27 12:22:28 2016 +0200
|
|
# Node ID 9b9d9e11c04d5e5f64829d34752e5c94b1c7d911
|
|
# Parent 92f0dbe76a13992cc27188e0f68e4b1771c7004a
|
|
8168318, PR3466, RH1498320: PPC64: Use cmpldi instead of li/cmpld
|
|
Reviewed-by: goetz
|
|
Contributed-by: 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
|
|
@@ -10571,6 +10571,17 @@
|
|
ins_pipe(pipe_class_compare);
|
|
%}
|
|
|
|
+instruct cmpP_reg_null(flagsReg crx, iRegP_N2P src1, immP_0or1 src2) %{
|
|
+ match(Set crx (CmpP src1 src2));
|
|
+ format %{ "CMPLDI $crx, $src1, $src2 \t// ptr" %}
|
|
+ size(4);
|
|
+ ins_encode %{
|
|
+ // TODO: PPC port $archOpcode(ppc64Opcode_cmpl);
|
|
+ __ cmpldi($crx$$CondRegister, $src1$$Register, (int)((short)($src2$$constant & 0xFFFF)));
|
|
+ %}
|
|
+ ins_pipe(pipe_class_compare);
|
|
+%}
|
|
+
|
|
// Used in postalloc expand.
|
|
instruct cmpP_reg_imm16(flagsReg crx, iRegPsrc src1, immL16 src2) %{
|
|
// This match rule prevents reordering of node before a safepoint.
|