1 /* { dg-do compile } */
2 /* { dg-options "-march=rv64gc_zbb -mabi=lp64d -fno-lto -O2" } */
3 /* { dg-skip-if "" { *-*-* } { "-g" } } */
4 /* { dg-final { check-function-bodies "**" "" } } */
11 unsigned int foo1 (unsigned int rs1
)
12 { return ((rs1
>> 14) | (rs1
<< 18)); }
19 unsigned int foo2 (unsigned int rs1
)
20 { return ((rs1
>> 18) | (rs1
<< 14)); }
27 unsigned int foo3 (unsigned int rs1
)
28 { return ((rs1
<< 14) | (rs1
>> 18)); }
35 unsigned int foo4 (unsigned int rs1
)
36 { return ((rs1
<< 18) | (rs1
>> 14)); }