2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / rlwinm-1.c
blob0fc08a623907f87664d7e65d2ab6f3e6d0e972e1
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 /* { dg-final { scan-assembler-times {(?n)^\s+[a-z]} 6739 { target ilp32 } } } */
5 /* { dg-final { scan-assembler-times {(?n)^\s+[a-z]} 9606 { target lp64 } } } */
6 /* { dg-final { scan-assembler-times {(?n)^\s+blr} 3375 } } */
7 /* { dg-final { scan-assembler-times {(?n)^\s+rldic} 2946 { target lp64 } } } */
9 /* { dg-final { scan-assembler-times {(?n)^\s+rlwinm} 691 { target ilp32 } } } */
10 /* { dg-final { scan-assembler-times {(?n)^\s+rlwinm} 622 { target lp64 } } } */
11 /* { dg-final { scan-assembler-times {(?n)^\s+slwi} 11 { target ilp32 } } } */
12 /* { dg-final { scan-assembler-times {(?n)^\s+slwi} 1 { target lp64 } } } */
14 /* { dg-final { scan-assembler-times {(?n)^\s+mulli} 2662 { target ilp32 } } } */
17 #define SL
19 #include "rlwinm.h"