Richard Henderson - fix gcc.target/i386/cvt-1.c (original) (raw)

This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

This test was failing for me, because we selected a memory source and a general register destination for the convert. Which is perfectly valid.

r~

    * gcc.target/i386/cvt-1.c: Don't expect xmm registers.

--- testsuite/gcc.target/i386/cvt-1.c (revision 121660) +++ testsuite/gcc.target/i386/cvt-1.c (local) @@ -1,7 +1,7 @@ /* { dg-do compile { target i?86-- x86_64-- } } / / { dg-options "-O2 -march=k8 -mfpmath=sse" } / -/ { dg-final { scan-assembler "cvttsd2si[^\n]xmm" } } / -/ { dg-final { scan-assembler "cvttss2si[^\n]xmm" } } / +/ { dg-final { scan-assembler "cvttsd2si" } } / +/ { dg-final { scan-assembler "cvttss2si" } } */ int a,a1; double b; float b1;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]