OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [mips/] [octeon-seq-2.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 321 jeremybenn
/* { 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 } } */
5
 
6
#define TEST(N, LHS, REL, RHS) \
7
  NOMIPS16 long long f##N (long long a, long long b) { return LHS REL RHS; }
8
 
9
TEST (0, a, ==, b);
10
TEST (1, a, ==, 23);
11
TEST (2, a, ==, 511);
12
 
13
TEST (3, a, !=, b);
14
TEST (4, a, !=, 1);
15
TEST (5, a, !=, 350);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.