mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 10:21:20 +00:00
(Jakub Jelinek <jakub@redhat.com>) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11507
12 lines
213 B
C
12 lines
213 B
C
#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;
|
|
}
|