i386.md (*cmp<X87MODEF:mode>_<SWI24:mode>_i387): Change operand 2 predicate to nonimm...
authorUros Bizjak <ubizjak@gmail.com>
Wed, 3 Oct 2018 21:51:50 +0000 (23:51 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 3 Oct 2018 21:51:50 +0000 (23:51 +0200)
* config/i386/i386.md (*cmp<X87MODEF:mode>_<SWI24:mode>_i387):
Change operand 2 predicate to nonimmediate_operand.
(*cmp<X87MODEF:mode>_<SWI24:mode>_cc_i387): Ditto.

From-SVN: r264827

gcc/ChangeLog
gcc/config/i386/i386.md

index 1f479545e53c8edd9d7e6081b8da35c41ad3fc21..f365b249aeff363b721feafd7f5ff90132a68c23 100644 (file)
@@ -1,3 +1,9 @@
+2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (*cmp<X87MODEF:mode>_<SWI24:mode>_i387):
+       Change operand 2 predicate to nonimmediate_operand.
+       (*cmp<X87MODEF:mode>_<SWI24:mode>_cc_i387): Ditto.
+
 2018-10-03  Martin Sebor  <msebor@redhat.com>
            Jeff Law  <law@redhat.com>
 
index 9aa276a9576b57132c2993f1d3ff87471ed9e98b..39b220e9a00fa0f690d17aeea177112cde54b0a8 100644 (file)
          [(compare:CCFP
             (match_operand:X87MODEF 1 "register_operand" "f")
             (float:X87MODEF
-              (match_operand:SWI24 2 "memory_operand" "m")))]
+              (match_operand:SWI24 2 "nonimmediate_operand" "m")))]
          UNSPEC_FNSTSW))]
   "TARGET_80387
    && (TARGET_USE_<SWI24:MODE>MODE_FIOP
        (compare:CCFP
          (match_operand:X87MODEF 1 "register_operand" "f")
          (float:X87MODEF
-           (match_operand:SWI24 2 "memory_operand" "m"))))
+           (match_operand:SWI24 2 "nonimmediate_operand" "m"))))
    (clobber (match_operand:HI 0 "register_operand" "=a"))]
   "TARGET_80387 && TARGET_SAHF && !TARGET_CMOVE
    && (TARGET_USE_<SWI24:MODE>MODE_FIOP