diff options
author | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-24 10:48:12 +0000 |
---|---|---|
committer | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-24 10:48:12 +0000 |
commit | 0e3ef253954afd65a6d8a595c4464a219d7c8de9 (patch) | |
tree | d0dfe19e7cf6a449425f4b9556af4158f0f015cd /base | |
parent | fe0698c01bfb887e45a957a4241a5dc82e1af848 (diff) | |
download | chromium_src-0e3ef253954afd65a6d8a595c4464a219d7c8de9.zip chromium_src-0e3ef253954afd65a6d8a595c4464a219d7c8de9.tar.gz chromium_src-0e3ef253954afd65a6d8a595c4464a219d7c8de9.tar.bz2 |
Prevent compiling cpu_unittest on i386.
This change prevents compiling cpu_unittest on 32-bit GCC since some builders does not compile with SSE support.
TBR=jiesun
BUG=none
TEST=fix build.
Review URL: http://codereview.chromium.org/6578017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75871 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/cpu_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/cpu_unittest.cc b/base/cpu_unittest.cc index a27502e..03e25c5 100644 --- a/base/cpu_unittest.cc +++ b/base/cpu_unittest.cc @@ -51,7 +51,7 @@ TEST(CPU, RunExtendedInstructions) { // Execute an SSE 4.2 instruction. __asm crc32 eax, eax; } -#elif defined(OS_POSIX) +#elif defined(OS_POSIX) || defined(__x86_64__) ASSERT_TRUE(cpu.has_mmx()); // Execute an MMX instruction. |