re PR target/92258 (ICE: output_operand: invalid %-code)
authorJakub Jelinek <jakub@redhat.com>
Tue, 29 Oct 2019 07:49:46 +0000 (08:49 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 29 Oct 2019 07:49:46 +0000 (08:49 +0100)
PR target/92258
* config/i386/sse.md (iptr): Revert 2019-10-27 change.

* gcc.target/i386/pr92258.c: New test.

From-SVN: r277551

gcc/ChangeLog
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr92258.c [new file with mode: 0644]

index 8b8a6c6f647d5371fb0baf3c810b9c4b5f9fbe94..a116348939c5a4c488d76c6209500ed6799d8dbd 100644 (file)
@@ -1,3 +1,8 @@
+2019-10-29  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/92258
+       * config/i386/sse.md (iptr): Revert 2019-10-27 change.
+
 2019-10-28  Martin Sebor  <msebor@redhat.com>
 
        * tree-ssa-strlen.c (get_addr_stridx): Add argument and use it.
index 06cadc1cf8c2c58ad1ca97a69fd9f4ee79eb9840..62c6805356379adc40fae3e269c7a6a2a1c405f4 100644 (file)
    (V16QI "b") (V8HI "w") (V4SI "k") (V2DI "q")
    (V16SF "k") (V8DF "q")
    (V8SF "k") (V4DF "q")
-   (V4SF "k") (V2DF "q")])
+   (V4SF "k") (V2DF "q")
+   (SF "k") (DF "q")])
 
 ;; Mapping of vector modes to VPTERNLOG suffix
 (define_mode_attr ternlogsuffix
index a3ef28625e414d70293cdb2369140bd83f4edbe4..a44e5ddf8fcfbe17180d5c79337b287cfd0a7144 100644 (file)
@@ -1,3 +1,8 @@
+2019-10-29  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/92258
+       * gcc.target/i386/pr92258.c: New test.
+
 2019-10-28  Martin Sebor  <msebor@redhat.com>
 
        * gcc.dg/strlenopt-89.c: New test.
diff --git a/gcc/testsuite/gcc.target/i386/pr92258.c b/gcc/testsuite/gcc.target/i386/pr92258.c
new file mode 100644 (file)
index 0000000..4e78ea3
--- /dev/null
@@ -0,0 +1,11 @@
+/* PR target/92258 */
+/* { dg-do compile } */
+/* { dg-options "-masm=intel -msse2" } */
+
+typedef double V __attribute__ ((__vector_size__ (16)));
+
+int
+foo (V x, V y)
+{
+  return __builtin_ia32_ucomisdeq (x, y);
+}