re PR target/11008 (improper multiply optimization for pentium4)

2003-07-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/11008
        * gcc.dg/i386-pentium4-not-mull.c: New.

From-SVN: r69469
This commit is contained in:
Andrew Pinski 2003-07-16 18:23:32 +00:00 committed by Andrew Pinski
parent 3d7964d5db
commit 48addf69eb
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-07-16 Andrew Pinski <pinskia@physics.uc.edu>
PR target/11008
* gcc.dg/i386-pentium4-not-mull.c: New.
2003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.dg/asm-names.c (ymain): Make it weak.

View File

@ -0,0 +1,9 @@
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O2 -march=pentium4" } */
/* { dg-final { scan-assembler-not "imull" } } */
/* Should be done not using imull. */
int t(int x)
{
return x*29;
}