Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gcc.target
/
pru
/
setbit.c
blob: 6e63b736206e0b0dae42292664e4a0348de45f3c [
file
] [
log
] [
blame
]
/* setbit instruction generation */
/* { dg-do compile } */
/* { dg-options "-O1" } */
unsigned
int
test_setbit
(
unsigned
int
val
)
{
/* { dg-final { scan-assembler "set\\tr14, r14, 31" } } */
val
|=
(
1u
<<
31
);
return
val
;
}