From 9061bc8758974f2a8a3367ea33a1c801ae0d5f59 Mon Sep 17 00:00:00 2001 From: goetz Date: Thu, 27 Feb 2014 20:40:24 +0100 Subject: [PATCH] 8035970: PPC64: fix ad file after 8027754: Enable loop optimizations for loops with MathExact Reviewed-by: kvn --- src/cpu/ppc/vm/ppc.ad | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/cpu/ppc/vm/ppc.ad b/src/cpu/ppc/vm/ppc.ad index c070185c8..2989ca516 100644 --- a/src/cpu/ppc/vm/ppc.ad +++ b/src/cpu/ppc/vm/ppc.ad @@ -2407,18 +2407,6 @@ const RegMask Matcher::method_handle_invoke_SP_save_mask() { return RegMask(); } -const RegMask Matcher::mathExactI_result_proj_mask() { - return RARG4_BITS64_REG_mask(); -} - -const RegMask Matcher::mathExactL_result_proj_mask() { - return RARG4_BITS64_REG_mask(); -} - -const RegMask Matcher::mathExactI_flags_proj_mask() { - return INT_FLAGS_mask(); -} - %} //----------ENCODING BLOCK----------------------------------------------------- @@ -7634,16 +7622,6 @@ instruct getAndSetN(iRegNdst res, iRegPdst mem_ptr, iRegNsrc src) %{ //----------Arithmetic Instructions-------------------------------------------- // Addition Instructions -// PPC has no instruction setting overflow of 32-bit integer. -//instruct addExactI_rReg(rarg4RegI dst, rRegI src, flagsReg cr) %{ -// match(AddExactI dst src); -// effect(DEF cr); -// -// format %{ "ADD $dst, $dst, $src \t// addExact int, sets $cr" %} -// ins_encode( enc_add(dst, dst, src) ); -// ins_pipe(pipe_class_default); -//%} - // Register Addition instruct addI_reg_reg(iRegIdst dst, iRegIsrc_iRegL2Isrc src1, iRegIsrc_iRegL2Isrc src2) %{ match(Set dst (AddI src1 src2)); -- GitLab