This is the mail archive of the gcc-patches@gcc.gnu.org mailing 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] |
On Wed, Apr 28, 2004 at 06:53:09PM -0400, Andrew Pinski wrote:/* { dg-do assemble { target powerpc-*-* rs6000-*-* } } */ /* { dg-final { scan-assembler-not "lfd" } } */ /* { dg-final { scan-assembler-not "sfd" } } */ /* { dg-final { scan-assembler "lfq" } } */ /* { dg-final { scan-assembler "sfq" } } */
Explicitly specify -mhard-float? Otherwise --with-float=soft will show test failures as will a -msoft-float multilib.
In general any of the --with options can produce unpredictable testsuite results, but I try to keep it to a minimum.
I noticed a couple of more mistakes I made in the two testcases. One was I forgot -w in the second testcase. Another was that peephole2's do not happen at -O. And that -mpower2 should really be -mcpu=power2 as recommended by the manual. And last but not least, the registers passed should be frn as frn is recognized by every rs6000 target.
Thanks, Andrew Pinski
ChangeLog: * gcc.dg/rs6000-power2-1.c: Change the options to be more correct. * gcc.dg/rs6000-power2-2.c: Change the options to be more correct. Change the asm registers to be in form of frN instead of fN.
-register double t1 __asm__("f0"); -register double t2 __asm__("f1"); -register double t3 __asm__("f2"), t4 __asm__("f3"); +register double t1 __asm__("fr0"); +register double t2 __asm__("fr1"); +register double t3 __asm__("fr2"), t4 __asm__("fr3"); void t(double *a, double *b) { t1 = a[-1];
Attachment:
temp.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |