re PR target/82281 (Bulldozer/Zen tuning: uses XMM for single 64-bit integer AND...
authorJan Hubicka <hubicka@ucw.cz>
Sun, 19 Nov 2017 20:30:26 +0000 (21:30 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 19 Nov 2017 20:30:26 +0000 (20:30 +0000)
PR target/82281
* gcc.target/i386/pr82281.c: New testcase.

From-SVN: r254939

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr82281.c [new file with mode: 0644]

index 3858caa59e0d6f0baf7868b2b2fe1d7339b892f1..e8845d434c20be82b1a78620a8917600f11ce631 100644 (file)
@@ -1,3 +1,8 @@
+2017-11-19  Jan Hubicka  <hubicka@ucw.cz>
+
+       PR target/82281
+       * gcc.target/i386/pr82281.c: New testcase.
+
 2017-11-19  Jan Hubicka  <hubicka@ucw.cz>
 
        PR ipa/81360
diff --git a/gcc/testsuite/gcc.target/i386/pr82281.c b/gcc/testsuite/gcc.target/i386/pr82281.c
new file mode 100644 (file)
index 0000000..d65e0ae
--- /dev/null
@@ -0,0 +1,6 @@
+/* { dg-do compile } */
+/* { dg-options "-O3 -m32" } */
+long long test_and(long long x) {
+       return x & 0x77ffffffffULL;
+}
+/* { dg-final { scan-assembler-not "xmm" } } */