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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pr28402.c] - Blame information for rev 455

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

Line No. Rev Author Line
1 149 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.