Commit 7d6c1f42 by Uros Bizjak Committed by Uros Bizjak

i386-1.C: Pass if CPU has no SSE2 support.

	* g++.dg/other/i386-1.C: Pass if CPU has no SSE2 support.

From-SVN: r107403
parent b8b47f42
2005-11-23 Uros Bizjak <uros@kss-loka.si>
* g++.dg/other/i386-1.C: Pass if CPU has no SSE2 support.
2005-11-23 Gabriel Dos Reis <gdr@integrable-solutions.net>
PR c/21668
......@@ -15,8 +15,8 @@ int main(int argc, char** argv) {
cpu_facilities = i386_cpuid ();
if ((cpu_facilities & (bit_MMX | bit_SSE | bit_CMOV))
!= (bit_MMX | bit_SSE | bit_CMOV))
if ((cpu_facilities & (bit_MMX | bit_SSE | bit_SSE2 | bit_CMOV))
!= (bit_MMX | bit_SSE | bit_SSE2 | bit_CMOV))
/* If host has no vector support, pass. */
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment