mirror of
https://github.com/andreas-abel/nanoBench.git
synced 2025-12-16 03:20:08 +01:00
fix for AMD
This commit is contained in:
@@ -937,6 +937,7 @@ void measurement_FF_template_AMD() {
|
||||
"lahf \n"
|
||||
"seto al \n"
|
||||
"push rax \n"
|
||||
"push rcx \n"
|
||||
"push rdx \n"
|
||||
"push r15 \n"
|
||||
"mov r15, "STRINGIFY(MAGIC_BYTES_PFC)" \n"
|
||||
@@ -957,6 +958,7 @@ void measurement_FF_template_AMD() {
|
||||
"lfence \n"
|
||||
"pop r15; lfence \n"
|
||||
"pop rdx; lfence \n"
|
||||
"pop rcx; lfence \n"
|
||||
"pop rax; lfence \n"
|
||||
"cmp al, -127; lfence \n"
|
||||
"sahf; lfence \n"
|
||||
|
||||
Reference in New Issue
Block a user