diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.target/cris/peep2-xsrand2.c')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/gcc.target/cris/peep2-xsrand2.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.target/cris/peep2-xsrand2.c b/gcc-4.8.1/gcc/testsuite/gcc.target/cris/peep2-xsrand2.c deleted file mode 100644 index 5d6ca788d..000000000 --- a/gcc-4.8.1/gcc/testsuite/gcc.target/cris/peep2-xsrand2.c +++ /dev/null @@ -1,34 +0,0 @@ -/* { dg-do compile } */ -/* { dg-final { scan-assembler "and.w -137," } } */ -/* { dg-final { scan-assembler "and.b -64," } } */ -/* { dg-final { scan-assembler "and.w -139," } } */ -/* { dg-final { scan-assembler "and.b -63," } } */ -/* { dg-final { scan-assembler-not "and.d" } } */ -/* { dg-options "-O2" } */ - -/* PR target/17984. Test-case based on - testsuite/gcc.dg/cris-peep2-xsrand.c. */ - -unsigned int -andwlsr (unsigned int x) -{ - return (x >> 16) & 0xff77; -} - -unsigned int -andblsr (unsigned int x) -{ - return (x >> 24) & 0xc0; -} - -int -andwasr (int x) -{ - return (x >> 16) & 0xff75; -} - -int -andbasr (int x) -{ - return (x >> 24) & 0xc1; -} |