From: Uros Bizjak Date: Wed, 23 Nov 2005 08:45:09 +0000 (+0100) Subject: i386-1.C: Pass if CPU has no SSE2 support. X-Git-Tag: releases/gcc-4.2.0~5793 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d6c1f42b4796ed351fe28bf9a0b0142ea23dcdb;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f33e8337f9fe..9ed97b85fa6d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2005-11-23 Uros Bizjak + + * g++.dg/other/i386-1.C: Pass if CPU has no SSE2 support. + 2005-11-23 Gabriel Dos Reis PR c/21668 diff --git a/gcc/testsuite/g++.dg/other/i386-1.C b/gcc/testsuite/g++.dg/other/i386-1.C index c579cf2f8c6e..5dc781fbe3e0 100644 --- a/gcc/testsuite/g++.dg/other/i386-1.C +++ b/gcc/testsuite/g++.dg/other/i386-1.C @@ -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;