[llvm-commits] [dragonegg] r172706 - in /dragonegg/trunk/test: compilator/local/rsqrtf.c validator/c/rsqrtf.c
Duncan Sands
baldrick at free.fr
Thu Jan 17 00:35:31 PST 2013
Author: baldrick
Date: Thu Jan 17 02:35:31 2013
New Revision: 172706
URL: http://llvm.org/viewvc/llvm-project?rev=172706&view=rev
Log:
Revert the previous commit. It didn't help because the compilator testsuite
automatically chomps on anything in the validator testsuite.
Added:
dragonegg/trunk/test/compilator/local/rsqrtf.c
Removed:
dragonegg/trunk/test/validator/c/rsqrtf.c
Added: dragonegg/trunk/test/compilator/local/rsqrtf.c
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/test/compilator/local/rsqrtf.c?rev=172706&view=auto
==============================================================================
--- dragonegg/trunk/test/compilator/local/rsqrtf.c (added)
+++ dragonegg/trunk/test/compilator/local/rsqrtf.c Thu Jan 17 02:35:31 2013
@@ -0,0 +1,13 @@
+#include <stdio.h>
+
+long double rfoof(double x) {
+ return __builtin_ia32_rsqrtf(x);
+}
+int main(void) {
+ double x = 2.0;
+ x = rfoof(x);
+ printf("%g\n", x);
+ return 0;
+}
+// float -> rsqrtss
+// double -> rsqrtss
Removed: dragonegg/trunk/test/validator/c/rsqrtf.c
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/test/validator/c/rsqrtf.c?rev=172705&view=auto
==============================================================================
--- dragonegg/trunk/test/validator/c/rsqrtf.c (original)
+++ dragonegg/trunk/test/validator/c/rsqrtf.c (removed)
@@ -1,16 +0,0 @@
-// RUN: %dragonegg -S %s
-// NOTE: gcc-4.6 w/o dragonegg crashes on this on x86-32.
-
-#include <stdio.h>
-
-long double rfoof(double x) {
- return __builtin_ia32_rsqrtf(x);
-}
-int main(void) {
- double x = 2.0;
- x = rfoof(x);
- printf("%g\n", x);
- return 0;
-}
-// float -> rsqrtss
-// double -> rsqrtss
More information about the llvm-commits
mailing list