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

Unified Diff: gcc/gcc/testsuite/gcc.dg/compat/vector-2a_main.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/compat/compat-common.h ('k') | gcc/gcc/testsuite/gcc.dg/cpp/19940712-1.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/gcc.dg/compat/vector-2a_main.c
diff --git a/gcc/gcc/testsuite/gcc.dg/compat/vector-2a_main.c b/gcc/gcc/testsuite/gcc.dg/compat/vector-2a_main.c
index 96c1111fddcdb5f79d8ea7e3721af2f332a3e0b0..8457e5aedc35a755626f5a3503b70df0f6710386 100644
--- a/gcc/gcc/testsuite/gcc.dg/compat/vector-2a_main.c
+++ b/gcc/gcc/testsuite/gcc.dg/compat/vector-2a_main.c
@@ -1,11 +1,11 @@
/* { dg-skip-if "test SSE2 support" { ! { i?86-*-* x86_64-*-* } } } */
+/* { dg-require-effective-target sse2 } */
+/* { dg-require-effective-target sse2_runtime } */
/* Test compatibility of vector types: layout between separately-compiled
modules, parameter passing, and function return. This test uses
vectors of floating points values. */
-#include "cpuid.h"
-
extern void vector_2_x (void);
extern void exit (int);
int fails;
@@ -13,14 +13,6 @@ int fails;
int
main ()
{
- unsigned int eax, ebx, ecx, edx;
-
- if (!__get_cpuid (1, &eax, &ebx, &ecx, &edx))
- return 0;
-
- /* Run SSE vector test only if host has SSE2 support. */
- if (edx & bit_SSE2)
- vector_2_x ();
-
+ vector_2_x ();
exit (0);
}
« no previous file with comments | « gcc/gcc/testsuite/gcc.dg/compat/compat-common.h ('k') | gcc/gcc/testsuite/gcc.dg/cpp/19940712-1.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698