1 /* { dg-options "-O2" } */
2 /* { dg-do compile { target has_arch_ppc64 } } */
4 /* { dg-final { scan-assembler-times {\mcmpldi\M} 10 } } */
5 /* { dg-final { scan-assembler-times {\mcmpdi\M} 4 } } */
6 /* { dg-final { scan-assembler-times {\mrotldi\M} 14 } } */
10 int __attribute__ ((noinline
)) udi_fun (unsigned long long in
)
12 if (in
== (0x8642000000000000ULL
))
14 if (in
== (0x7642000000000000ULL
))
16 if (in
== (0x8000000000000000ULL
))
18 if (in
== (0x8700000000000091ULL
))
20 if (in
== (0x8642FFFFFFFFFFFFULL
))
22 if (in
== (0x7642FFFFFFFFFFFFULL
))
24 if (in
== (0x7567000000ULL
))
26 if (in
== (0xFFF8567FFFFFFFFFULL
))
32 int __attribute__ ((noinline
)) di_fun (long long in
)
34 if (in
== (0x8642000000000000LL
))
36 if (in
== (0x7642000000000000LL
))
38 if (in
== (0x8000000000000000LL
))
40 if (in
== (0x8700000000000091LL
))
42 if (in
== (0x8642FFFFFFFFFFFFLL
))
44 if (in
== (0x7642FFFFFFFFFFFFLL
))
46 if (in
== (0x7567000000LL
))
48 if (in
== (0xFFF8567FFFFFFFFFLL
))