Skip to content

Commit 27c0199

Browse files
authored
chore: remove extraneous $ in inline asm for Intel syntax (#138)
1 parent 8923641 commit 27c0199

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/codspeed/src/request/arch/x86_64.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ pub type Value = u64;
66
pub unsafe fn send_client_request(default: Value, args: &[Value; 6]) -> Value {
77
let mut value = default;
88
asm!(
9-
"rol rdi, $$3",
10-
"rol rdi, $$13",
11-
"rol rdi, $$61",
12-
"rol rdi, $$51",
9+
"rol rdi, 3",
10+
"rol rdi, 13",
11+
"rol rdi, 61",
12+
"rol rdi, 51",
1313
"xchg rbx, rbx",
1414
in("rax") args.as_ptr(),
1515
inlateout("rdx") value,

0 commit comments

Comments
 (0)