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-3.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 "-O -march=octeon -mgp64" } */
3
 
4
/* { dg-final { scan-assembler-not "and\t\|andi\t\|ext\t\|sll\t\|srl\t" } } */
5
/* { dg-final { scan-assembler-times "\tseqi\t\|\tsnei\t" 4 } } */
6
 
7
 
8
#define TEST(N, LHS, REL, RHS) \
9
  NOMIPS16 long long w##N (int a, int b) {return LHS REL RHS;} \
10
  NOMIPS16 int n##N (long long a, long long b) {return LHS REL RHS;} \
11
 
12
TEST (eq, a, ==, 10);
13
TEST (ne, a, !=, 32);

powered by: WebSVN 2.1.0

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