rs6000: Fix testsuite bug in check_ppc_float128_hw_available
authorSegher Boessenkool <segher@kernel.crashing.org>
Mon, 16 Jul 2018 23:03:08 +0000 (01:03 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Mon, 16 Jul 2018 23:03:08 +0000 (01:03 +0200)
The test program for ppc_float128_hw_available would always return
false, since there is a syntax error in that test program.

gcc/testsuite/
* lib/target-supports.exp (check_ppc_float128_hw_available): Fix
syntax error.

From-SVN: r262755

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index cd952134d9d01b2adf6377c02a8278900d474c7c..e6b8362983926eece0f9373c23b3cb65fae26eab 100644 (file)
@@ -1,3 +1,8 @@
+2018-07-16  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * lib/target-supports.exp (check_ppc_float128_hw_available): Fix
+       syntax error.
+
 2018-07-16  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/86526
index 99613fd26bd47dc5caf12d1938249acadeaf0035..ec4a35dc97c903fb77d9c8c2ea28742181e7932b 100644 (file)
@@ -2182,7 +2182,7 @@ proc check_ppc_float128_hw_available { } {
                    __float128 w = -1.0q;
 
                    __asm__ ("xsaddqp %0,%1,%2" : "+v" (w) : "v" (x), "v" (y));
-                   return ((z != 3.0q) || (z != w);
+                   return ((z != 3.0q) || (z != w));
                }
            } $options
        }