Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Unified Diff: gcc/gcc/testsuite/gcc.dg/pr40550.c

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/pr38984.c ('k') | gcc/gcc/testsuite/gcc.dg/pragma-re-2.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/gcc.dg/pr40550.c
diff --git a/gcc/gcc/testsuite/gcc.dg/pr40550.c b/gcc/gcc/testsuite/gcc.dg/pr40550.c
index 27935ab005a9fb373e23a5f6af4b80ef20487f96..2e477293ed17d3e6223a73ce143e54e9e1341a23 100644
--- a/gcc/gcc/testsuite/gcc.dg/pr40550.c
+++ b/gcc/gcc/testsuite/gcc.dg/pr40550.c
@@ -1,9 +1,7 @@
/* { dg-do run } */
/* { dg-options "-msse" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
-
-#ifdef __i386__
-#include "cpuid.h"
-#endif
+/* { dg-require-effective-target sse { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
+/* { dg-require-effective-target sse_runtime { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
typedef float v2sf __attribute__ ((vector_size (2 * sizeof(float))));
@@ -17,18 +15,6 @@ static void test (void)
int main ()
{
-
-#ifdef __i386__
- unsigned int eax, ebx, ecx, edx;
-
- if (!__get_cpuid (1, &eax, &ebx, &ecx, &edx))
- return 0;
-
- if (!(edx & bit_SSE))
- return 0;
-#endif
-
test ();
-
return 0;
}
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/pr38984.c ('k') | gcc/gcc/testsuite/gcc.dg/pragma-re-2.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698