diff options
author | Uros Bizjak <uros@kss-loka.si> | 2005-01-04 16:44:25 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2005-01-04 16:44:25 +0100 |
commit | 21e5076a0b103569103829459be6457c3c39e39d (patch) | |
tree | 6f5abb5eb8e24f267bbefd9b81df36259ebcfce3 /gcc/cse.c | |
parent | 8ea9d0c7c932328745976c01943afafaa8c729ee (diff) | |
download | gcc-21e5076a0b103569103829459be6457c3c39e39d.zip gcc-21e5076a0b103569103829459be6457c3c39e39d.tar.gz gcc-21e5076a0b103569103829459be6457c3c39e39d.tar.bz2 |
re PR middle-end/17767 (MMX intrinsics cause internal compiler error)
PR middle-end/17767
* cse.c (fold_rtx) [RTX_COMPARE, RTX_COMM_COMPARE]: Don't attempt
any simplifications of vector mode comparison operators.
* simplify-rtx.c (simplify_relational_operation): Fix variable name.
testsuite:
* gcc.dg/i386-mmx-6.c: New test case.
From-SVN: r92896
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3865,6 +3865,10 @@ fold_rtx (rtx x, rtx insn) constant, set CONST_ARG0 and CONST_ARG1 appropriately. We needn't do anything if both operands are already known to be constant. */ + /* ??? Vector mode comparisons are not supported yet. */ + if (VECTOR_MODE_P (mode)) + break; + if (const_arg0 == 0 || const_arg1 == 0) { struct table_elt *p0, *p1; |