2013-12-05 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Dec 2013 09:20:51 +0000 (09:20 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Dec 2013 09:20:51 +0000 (09:20 +0000)
PR tree-optimization/56787
* gcc.dg/vect/pr56787.c: Adjust to not require vector float
division.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205696 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr56787.c

index f72c72c..b074cfa 100644 (file)
@@ -1,3 +1,9 @@
+2013-12-05  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/56787
+       * gcc.dg/vect/pr56787.c: Adjust to not require vector float
+       division.
+
 2013-12-05  Kostya Serebryany  <kcc@google.com>
 
        * c-c++-common/asan/null-deref-1.c: Update the test
index 313d477..3f8a07a 100644 (file)
@@ -5,7 +5,7 @@ inline void
 bar (const float s[5], float z[3][5])
 {
   float a = s[0], b = s[1], c = s[2], d = s[3], e = s[4];
-  float f = 1.0f / a;
+  float f = a;
   float u = f * b, v = f * c, w = f * d;
   float p = 0.4f * (e - 0.5f * (b * u + c * v + d * w));
   z[0][3] = b * w;