Skip to content

Commit f16db64

Browse files
authored
Update co_routine.cpp
1 parent 7e8d001 commit f16db64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

co_routine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static unsigned long long counter(void)
6969
register uint32_t lo, hi;
7070
register unsigned long long o;
7171
__asm__ __volatile__ (
72-
"rdtscp" : "=a"(lo), "=d"(hi)
72+
"rdtscp" : "=a"(lo), "=d"(hi):: rcx(%rcx)
7373
);
7474
o = hi;
7575
o <<= 32;

0 commit comments

Comments
 (0)