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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr28402.c] - Blame information for rev 696

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-options "" } */
2
typedef long long ll;
3
typedef unsigned long long ull;
4
 
5
int global;
6
 
7
#define A(BASE, OP, AMT) \
8
  ll BASE ## AMT (ll x) { return x OP AMT; } \
9
  ull BASE ## AMT ## u (ull x) { return x OP AMT; }
10
 
11
#define B(BASE, OP) \
12
  A (BASE, OP, 1) \
13
  A (BASE, OP, 10) \
14
  A (BASE, OP, 31) \
15
  A (BASE, OP, 33) \
16
  A (BASE, OP, 61) \
17
  A (BASE, OP, global)
18
 
19
B (left, <<)
20
B (right, >>)
21
 
22
/* { dg-final { scan-assembler-not "__\[a-z\]*si3" } } */

powered by: WebSVN 2.1.0

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