1 unsigned lsr_or_and2(unsigned x
, unsigned b
)
3 return (((x
& 0xf0ffffff) | b
) >> 12);
6 unsigned shl_or_and2(unsigned x
, unsigned b
)
8 return (((x
& 0xffffff0f) | b
) << 12);
12 * check-name: sh-or-and2
13 * check-command: test-linearize -Wno-decl $file
16 * check-output-pattern(1): lsr\\.
17 * check-output-pattern(1): shl\\.
18 * check-output-pattern(2): or\\.
19 * check-output-pattern(1): and\\..*\\$0xf0fff000
20 * check-output-pattern(1): and\\..*\\$0xfff0f