Sign in
android
/
platform
/
external
/
valgrind
/
d77a4ca
/
.
/
none
/
tests
/
amd64
/
loopnel.c
blob: 88bc0996982319b580f30471d076a90986743acf [
file
] [
log
] [
blame
]
#include
<stdio.h>
int
main
(
void
)
{
long
rcx
=
0x200000005UL
;
long
rax
=
5UL
;
asm
volatile
(
"1: addq $1, %0; loopnel 1b"
:
"+a"
(
rax
),
"+c"
(
rcx
)
:
:
"cc"
);
printf
(
"%ld %ld\n"
,
rax
,
rcx
);
return
0
;
}