From: segher Date: Tue, 25 Nov 2014 17:41:10 +0000 (+0000) Subject: * config/rs6000/rs6000.md (iorxor, IORXOR): Delete code_attrs. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=898adade469beff0c4202e109d4dfeccc5f8a757;p=thirdparty%2Fgcc.git * config/rs6000/rs6000.md (iorxor, IORXOR): Delete code_attrs. (rest of file): Replace those with code resp. CODE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218052 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8b0d92b647ab..17722544cf7e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-11-25 Segher Boessenkool + + * config/rs6000/rs6000.md (iorxor, IORXOR): Delete code_attrs. + (rest of file): Replace those with code resp. CODE. + 2014-11-25 Tom de Vries * tree-cfg.c (verify_sese): New function. diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index fe73acff2d42..c8c3a680d823 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -460,8 +460,6 @@ ; Logical operators. (define_code_iterator iorxor [ior xor]) -(define_code_attr iorxor [(ior "ior") (xor "xor")]) -(define_code_attr IORXOR [(ior "IOR") (xor "XOR")]) ; Signed/unsigned variants of ops. (define_code_iterator any_extend [sign_extend zero_extend]) @@ -2876,7 +2874,7 @@ [(set_attr "length" "8")]) -(define_expand "3" +(define_expand "3" [(set (match_operand:SDI 0 "gpc_reg_operand" "") (iorxor:SDI (match_operand:SDI 1 "gpc_reg_operand" "") (match_operand:SDI 2 "reg_or_cint_operand" "")))] @@ -2884,7 +2882,7 @@ { if (mode == DImode && !TARGET_POWERPC64) { - rs6000_split_logical (operands, , false, false, false); + rs6000_split_logical (operands, , false, false, false); DONE; } @@ -2898,8 +2896,8 @@ HOST_WIDE_INT lo = value & 0xffff; HOST_WIDE_INT hi = value - lo; - emit_insn (gen_3 (tmp, operands[1], GEN_INT (hi))); - emit_insn (gen_3 (operands[0], tmp, GEN_INT (lo))); + emit_insn (gen_3 (tmp, operands[1], GEN_INT (hi))); + emit_insn (gen_3 (operands[0], tmp, GEN_INT (lo))); DONE; }