From 34397eeac212fc3df6df20d7d36f5e43c4c59b02 Mon Sep 17 00:00:00 2001 From: uros Date: Wed, 3 Oct 2018 21:51:50 +0000 Subject: [PATCH] * config/i386/i386.md (*cmp__i387): Change operand 2 predicate to nonimmediate_operand. (*cmp__cc_i387): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264827 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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.11.4.GIT