]> gcc.gnu.org Git - gcc.git/commitdiff
rs6000.md (neg<mode>2_internal): Use the correct mode to check whether the mode is...
authorMichael Meissner <meissner@linux.ibm.com>
Thu, 21 Jun 2018 22:49:37 +0000 (22:49 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Thu, 21 Jun 2018 22:49:37 +0000 (22:49 +0000)
2018-06-21  Michael Meissner  <meissner@linux.ibm.com>

* config/rs6000/rs6000.md (neg<mode>2_internal): Use the correct
mode to check whether the mode is IBM extended.

From-SVN: r261869

gcc/ChangeLog
gcc/config/rs6000/rs6000.md

index ff854f851e62132013a6f7887dd1784f920b5cc4..02d59040db381b296abd07c95520e3b139e11814 100644 (file)
@@ -3,6 +3,8 @@
        * config/rs6000/rs6000.md (extendtfif2): Add missing 128-bit
        conversion insn that shows up when pr85657-3.c is compiled using
        IEEE 128-bit long double.
+       (neg<mode>2_internal): Use the correct mode to check whether the
+       mode is IBM extended.
 
 2018-06-21  Eric Botcazou  <ebotcazou@adacore.com>
 
index 3044e6eb475450baaa7c3eb344500954f8348dc3..44d32d9edc8d7ed52153c5ce0164db78ee2a1ea5 100644 (file)
 (define_insn "neg<mode>2_internal"
   [(set (match_operand:IBM128 0 "gpc_reg_operand" "=d")
        (neg:IBM128 (match_operand:IBM128 1 "gpc_reg_operand" "d")))]
-  "TARGET_HARD_FLOAT && FLOAT128_IBM_P (TFmode)"
+  "TARGET_HARD_FLOAT && FLOAT128_IBM_P (<MODE>mode)"
 {
   if (REGNO (operands[0]) == REGNO (operands[1]) + 1)
     return "fneg %L0,%L1\;fneg %0,%1";
This page took 0.122603 seconds and 5 git commands to generate.