summaryrefslogtreecommitdiff
path: root/gcc/config/i386/sse.md
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-21 14:01:02 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-21 14:01:02 +0000
commitd41c63a876a1b3b4e97e6c265e6b9e37c086c6f5 (patch)
treea5a16ab1312d4ca4e5cd89b6178b712d8e70cee9 /gcc/config/i386/sse.md
parentff07cef7cbb73c266c380e166723b297e5b9ed4a (diff)
downloadgcc-d41c63a876a1b3b4e97e6c265e6b9e37c086c6f5.tar.gz
2009-05-21 Shujing Zhao <pearly.zhao@oracle.com>
* config/i386/i386.c: Use REG_P, MEM_P, CONST_INT_P, LABEL_P and JUMP_TABLE_DATA_P predicates where applicable. * config/i386/predicates.md: Ditto. * config/i386/sse.md: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147769 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/sse.md')
-rw-r--r--gcc/config/i386/sse.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index ae23746e2a0..d705fa11cc5 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -11201,7 +11201,7 @@
rtx par = gen_rtx_PARALLEL (V16QImode, vs);
rtx reg = gen_reg_rtx (V16QImode);
int i;
- rtx ele = ((GET_CODE (operands[2]) == CONST_INT)
+ rtx ele = ((CONST_INT_P (operands[2]))
? GEN_INT (- INTVAL (operands[2]))
: operands[2]);
@@ -11210,7 +11210,7 @@
emit_insn (gen_vec_initv16qi (reg, par));
- if (GET_CODE (operands[2]) != CONST_INT)
+ if (!CONST_INT_P (operands[2]))
{
rtx neg = gen_reg_rtx (V16QImode);
emit_insn (gen_negv16qi2 (neg, reg));
@@ -11233,7 +11233,7 @@
rtx reg = gen_reg_rtx (V2DImode);
rtx ele;
- if (GET_CODE (operands[2]) == CONST_INT)
+ if (CONST_INT_P (operands[2]))
ele = GEN_INT (- INTVAL (operands[2]));
else if (GET_MODE (operands[2]) != DImode)
{