2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / mips / octeon-seq-2.c
blob83e068c54fd3f12b89c20dfb6696286b4696da30
1 /* { dg-do compile } */
2 /* { dg-options "-march=octeon -mgp64" } */
3 /* { dg-final { scan-assembler-times "\tseq\t|\tseqi\t" 3 } } */
4 /* { dg-final { scan-assembler-times "\tsne\t|\tsnei\t" 3 } } */
6 #define TEST(N, LHS, REL, RHS) \
7 NOMIPS16 long long f##N (long long a, long long b) { return LHS REL RHS; }
9 TEST (0, a, ==, b);
10 TEST (1, a, ==, 23);
11 TEST (2, a, ==, 511);
13 TEST (3, a, !=, b);
14 TEST (4, a, !=, 1);
15 TEST (5, a, !=, 350);