repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
regtest: broaden none/tests/linux/bug498317 suppression for PPC
[valgrind.git]
/
none
/
tests
/
amd64
/
loopnel.c
blob
88bc0996982319b580f30471d076a90986743acf
1
#include <stdio.h>
2
3
int
4
main
(
void
)
5
{
6
long
rcx
=
0x200000005
UL
;
7
long
rax
=
5UL
;
8
asm
volatile
(
"1: addq $1, %0; loopnel 1b"
:
"+a"
(
rax
),
"+c"
(
rcx
) : :
"cc"
);
9
printf
(
"%ld %ld
\n
"
,
rax
,
rcx
);
10
return
0
;
11
}