summaryrefslogtreecommitdiff
path: root/crates/hashx/src/compiler/aarch64.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hashx/src/compiler/aarch64.rs')
-rw-r--r--crates/hashx/src/compiler/aarch64.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hashx/src/compiler/aarch64.rs b/crates/hashx/src/compiler/aarch64.rs
index 2e19cb51f..8e01dd2ca 100644
--- a/crates/hashx/src/compiler/aarch64.rs
+++ b/crates/hashx/src/compiler/aarch64.rs
@@ -111,7 +111,7 @@ fn emit_init_locals<A: DynasmApi>(asm: &mut A) {
#[inline(always)]
fn emit_load_input<A: DynasmApi>(asm: &mut A) {
for reg in RegisterId::all() {
- dynasm!(asm; ldr X(reg.x()), [register_file_ptr, #(reg.offset())]);
+ dynasm!(asm; ldr X(reg.x()), [register_file_ptr, #reg.offset()]);
}
}
@@ -120,7 +120,7 @@ fn emit_load_input<A: DynasmApi>(asm: &mut A) {
#[inline(always)]
fn emit_store_output<A: DynasmApi>(asm: &mut A) {
for reg in RegisterId::all() {
- dynasm!(asm; str X(reg.x()), [register_file_ptr, #(reg.offset())]);
+ dynasm!(asm; str X(reg.x()), [register_file_ptr, #reg.offset()]);
}
}