Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / mips / pr113179.c
blobf32c5a16765de4361066337efcccb9e5240d07d8
1 /* Check if the operand of INS is sign-extended on MIPS64. */
2 /* { dg-options "-mips64r2 -mabi=64" } */
3 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
5 struct xx {
6 int a:1;
7 int b:24;
8 int c:6;
9 int d:1;
12 long long xx (struct xx *a, long long b) {
13 a->d = b;
14 return b+1;
17 /* { dg-final { scan-assembler "\tsll\t\\\$3,\\\$5,0" } } */
18 /* { dg-final { scan-assembler "\tdaddiu\t\\\$2,\\\$5,1" } } */