From c7d53a7c9b86b2440ee631bf1db71105b79a573f Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 3 Oct 2018 23:51:50 +0200 Subject: [PATCH] i386.md (*cmp__i387): Change operand 2 predicate to nonimmediate_operand. * config/i386/i386.md (*cmp__i387): Change operand 2 predicate to nonimmediate_operand. (*cmp__cc_i387): Ditto. From-SVN: r264827 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/i386.md | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1f479545e53..f365b249aef 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-10-03 Uros Bizjak + + * config/i386/i386.md (*cmp__i387): + Change operand 2 predicate to nonimmediate_operand. + (*cmp__cc_i387): Ditto. + 2018-10-03 Martin Sebor Jeff Law diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 9aa276a9576..39b220e9a00 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -1612,7 +1612,7 @@ [(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_MODE_FIOP @@ -1628,7 +1628,7 @@ (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_MODE_FIOP -- 2.30.2