nor.c: New.
2013-10-22 Steve Ellcey <sellcey@mips.com> * gcc.target/mips/nor.c: New. From-SVN: r203934
This commit is contained in:
parent
ade97eb169
commit
fb61ee69c3
|
@ -1,3 +1,7 @@
|
|||
2013-10-22 Steve Ellcey <sellcey@mips.com>
|
||||
|
||||
* gcc.target/mips/nor.c: New.
|
||||
|
||||
2013-10-22 Bill Schmidt <wschmidt@vnet.ibm.com>
|
||||
|
||||
* gcc.target/powerpc/altivec-perm-1.c: Move the two vector pack
|
||||
|
|
|
@ -0,0 +1,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);
|
||||
}
|
Loading…
Reference in New Issue