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
This commit is contained in:
parent
b8b47f4251
commit
7d6c1f42b4
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue