Message ID | 38fad19542e7162737dab591b93b52871d22e303.1418024189.git.segher@kernel.crashing.org |
---|---|
State | New |
Headers | show |
On Mon, Dec 8, 2014 at 9:18 AM, Segher Boessenkool <segher@kernel.crashing.org> wrote: > Peter tells me it was an artifact of old versions of the DFP code. The > condition can never be false; delete it. > > > 2014-12-08 Segher Boessenkool <segher@kernel.crashing.org> > > gcc/ > * config/rs6000/rs6000.md (*add<mode>3): Remove condition. Okay. Thanks, David
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index a544e57..6724819 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -1506,7 +1506,7 @@ (define_insn "*add<mode>3" [(set (match_operand:GPR 0 "gpc_reg_operand" "=r,r,r") (plus:GPR (match_operand:GPR 1 "gpc_reg_operand" "%r,b,b") (match_operand:GPR 2 "add_operand" "r,I,L")))] - "!DECIMAL_FLOAT_MODE_P (GET_MODE (operands[0])) && !DECIMAL_FLOAT_MODE_P (GET_MODE (operands[1]))" + "" "@ add %0,%1,%2 addi %0,%1,%2