[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Vector/build.c

Chris Lattner sabre at nondot.org
Fri Dec 1 11:25:28 PST 2006



Changes in directory llvm-test/SingleSource/UnitTests/Vector:

build.c updated: 1.2 -> 1.3
---
Log message:

correct this test


---
Diffs of the changes:  (+5 -2)

 build.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)


Index: llvm-test/SingleSource/UnitTests/Vector/build.c
diff -u llvm-test/SingleSource/UnitTests/Vector/build.c:1.2 llvm-test/SingleSource/UnitTests/Vector/build.c:1.3
--- llvm-test/SingleSource/UnitTests/Vector/build.c:1.2	Fri Dec  1 12:17:46 2006
+++ llvm-test/SingleSource/UnitTests/Vector/build.c	Fri Dec  1 13:25:13 2006
@@ -5,8 +5,11 @@
 	if (argc == 1123) X = 2.38213;
 	FV A;
         A.V = (v4sf){ X, X, X, X };  // splat
-        //A.V = A.V * A.V;
-        printf("%f", A.A[1]);
+        A.V = A.V * A.V;
+        printFV(&A);
+        A.V = (v4sf){ X, X, 0, 0 };
+	A.V = A.V+A.V;
+        printFV(&A);
 	return 0;
 }
 






More information about the llvm-commits mailing list