OSDN Git Service

(floatsidf2): Test BITS_PER_WORD in pattern condition not during build.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Nov 1994 23:51:42 +0000 (23:51 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Nov 1994 23:51:42 +0000 (23:51 +0000)
Fail if TARGET_POWERPC64.
(floatunssidf2): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8591 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/rs6000/rs6000.md

index 5343d3c..4445433 100644 (file)
    (set (match_operand:DF 0 "gpc_reg_operand" "")
        (minus:DF (subreg:DF (match_dup 2) 0)
                  (match_dup 5)))]
-  ""
+  "! TARGET_POWERPC64 && HOST_BITS_PER_INT == BITS_PER_WORD"
   "
 {
-#if HOST_BITS_PER_INT != BITS_PER_WORD
-  /* Maybe someone can figure out how to do this in that case.  I don't
-     want to right now.  */
-  abort ();
-#endif
-
   operands[2] = gen_reg_rtx (DImode);
   operands[3] = gen_rtx (CONST_INT, VOIDmode, 0x80000000);
   operands[4] = immed_double_const (0, 0x43300000, DImode);
    (set (match_operand:DF 0 "gpc_reg_operand" "")
        (minus:DF (subreg:DF (match_dup 2) 0)
                  (match_dup 4)))]
-  ""
+  "! TARGET_POWERPC64 && HOST_BITS_PER_INT == BITS_PER_WORD"
   "
 {
-#if HOST_BITS_PER_INT != BITS_PER_WORD
-  /* Maybe someone can figure out how to do this in that case.  I don't
-     want to right now.  */
-  abort ();
-#endif
-
   operands[2] = gen_reg_rtx (DImode);
   operands[3] = immed_double_const (0, 0x43300000, DImode);
   operands[4] = force_reg (DFmode, immed_double_const (0x43300000, 0, DFmode));