gcc/testsuite/gcc.target/loongarch/lasx-andn-iorn.c
raw| 1 | #define N 8 |
| 2 | |
| 3 | #include "./lsx-andn-iorn.c" |
| 4 | |
| 5 | /* { dg-do compile } */ |
| 6 | /* { dg-options "-O2 -mlasx -ftree-vectorize -fdump-tree-optimized" } */ |
| 7 | |
| 8 | /* We should produce a BIT_ANDC and BIT_IORC here. */ |
| 9 | |
| 10 | /* { dg-final { scan-tree-dump ".BIT_ANDN " "optimized" } } */ |
| 11 | /* { dg-final { scan-tree-dump ".BIT_IORN " "optimized" } } */ |