aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/aarch64/vm/interp_masm_aarch64.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/aarch64/vm/interp_masm_aarch64.cpp')
-rw-r--r--src/cpu/aarch64/vm/interp_masm_aarch64.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/aarch64/vm/interp_masm_aarch64.cpp b/src/cpu/aarch64/vm/interp_masm_aarch64.cpp
index c5a593ecd..66a034396 100644
--- a/src/cpu/aarch64/vm/interp_masm_aarch64.cpp
+++ b/src/cpu/aarch64/vm/interp_masm_aarch64.cpp
@@ -1417,10 +1417,10 @@ void InterpreterMacroAssembler::increment_mask_and_jump(Address counter_addr,
Register scratch, bool preloaded,
Condition cond, Label* where) {
if (!preloaded) {
- ldr(scratch, counter_addr);
+ ldrw(scratch, counter_addr);
}
add(scratch, scratch, increment);
- str(scratch, counter_addr);
+ strw(scratch, counter_addr);
ands(scratch, scratch, mask);
br(cond, *where);
}