repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
mono_native_tls_get_value that does not change LastError. (#15568)
[mono-project.git]
/
mono
/
benchmark
/
cmov2.cs
blob
b2d0706b87d95d94155b84ff70213d843b5897b0
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
}