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

Unified Diff: test/cctest/test-assembler-ia32.cc

Issue 982007: Make the C++ tests run without SSE2 support. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 9 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 | « no previous file | test/cctest/test-disasm-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-assembler-ia32.cc
===================================================================
--- test/cctest/test-assembler-ia32.cc (revision 4146)
+++ test/cctest/test-assembler-ia32.cc (working copy)
@@ -167,6 +167,8 @@
typedef int (*F3)(float x);
TEST(AssemblerIa323) {
+ if (!CpuFeatures::IsSupported(SSE2)) return;
+
InitializeVM();
v8::HandleScope scope;
@@ -201,6 +203,8 @@
typedef int (*F4)(double x);
TEST(AssemblerIa324) {
+ if (!CpuFeatures::IsSupported(SSE2)) return;
+
InitializeVM();
v8::HandleScope scope;
@@ -258,6 +262,8 @@
typedef double (*F5)(double x, double y);
TEST(AssemblerIa326) {
+ if (!CpuFeatures::IsSupported(SSE2)) return;
+
InitializeVM();
v8::HandleScope scope;
CHECK(CpuFeatures::IsSupported(SSE2));
@@ -303,6 +309,8 @@
typedef double (*F6)(int x);
TEST(AssemblerIa328) {
+ if (!CpuFeatures::IsSupported(SSE2)) return;
+
InitializeVM();
v8::HandleScope scope;
CHECK(CpuFeatures::IsSupported(SSE2));
« no previous file with comments | « no previous file | test/cctest/test-disasm-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698