summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/seq-1.c
blob: ae23608ceeaac098a77aefc435354a559772f21d (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-final { scan-assembler-times "\tsltu\t|\tsltiu\t" 4 } } */

#define TEST(N, LHS, REL, RHS) \
  NOMIPS16 int f##N (int a, int b) { return LHS REL RHS; }

TEST (0, a, ==, 0);
TEST (1, a, ==, 600);
TEST (10, a, !=, 0);
TEST (11, a, !=, -800);