1 /* { dg-do compile } */
2 /* The tests also work with -mgp32. For long long tests, only one of
3 the 32-bit parts is used. */
4 /* { dg-options "-march=octeon" } */
5 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
6 /* { dg-final { scan-assembler-times "\tcins\t" 3 } } */
7 /* { dg-final { scan-assembler-not "\tandi\t|sll\t" } } */
12 return (i
& 0xff) << 34;
18 return (i
<< 4) & 0xff0;
24 return (i
<< 4) & 0xfff;