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