blob: e71791ba31fe0568e2ea3ce46590faa268df59c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* { dg-do compile } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
/* { dg-final { scan-assembler-times "\tnor\t" 1 } } */
/* { dg-final { scan-assembler-not "\tor" } } */
/* Test that we generate a 'nor' instruction and no 'or' instructions. */
NOMIPS16 int f (int a, int b)
{
return ~(a|b);
}
|