+2004-04-29 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * 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.
+
2004-04-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.dg/torture/builtin-convert-2.c: New test.
/* { dg-do assemble { target powerpc-*-* rs6000-*-* } } */
-/* { dg-options "-O -mpower2 -fno-schedule-insns -w" } */
+/* { dg-options "-O3 -mcpu=power2 -fno-schedule-insns -w -mhard-float" } */
/* This used to ICE as the peephole was not checking to see
if the register is a floating point one (I think this cannot
happen in real life except in this example). */
/* { dg-do assemble { target powerpc-*-* rs6000-*-* } } */
-/* { dg-options "-O -mpower2 -fno-schedule-insns" } */
+/* { dg-options "-O3 -mcpu=power2 -fno-schedule-insns -w -mhard-float" } */
/* { dg-final { scan-assembler-not "lfd" } } */
/* { dg-final { scan-assembler-not "sfd" } } */
/* { dg-final { scan-assembler "lfq" } } */
/* { dg-final { scan-assembler "sfq" } } */
-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];