projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Mark inline assembly in mono-hwcap-s390x.c volatile.
[mono.git]
/
mono
/
benchmark
/
cmov2.cs
1
using System;
2
class T {
3
static void Main () {
4
int a = 1, b = 2, c = 3, d = 4, e = 5;
5
for (int i = 0; i < 500000000; i ++) {
6
// on the stack
7
if (a == b)
8
a = i;
9
if (b == a)
10
b = i;
11
if (c == d)
12
c = i;
13
if (d == e)
14
d = i;
15
if (e == a)
16
e = i;
17
}
18
19
if ((a ^ b ^ c ^ d ^ e) == 12345)
20
return;
21
}
22
23
}