Skip to content

Commit

Permalink
load 2 consectuve words from memory
Browse files Browse the repository at this point in the history
Use ldmia to Increase the pointer AFTER each read, first word goes in TMP, second in ARG1
  • Loading branch information
ziopio committed Jan 27, 2025
1 parent f6b9197 commit 5318ced
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erts/emulator/beam/jit/arm/32/instr_fun.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ void BeamGlobalAssembler::emit_apply_fun_shared() {

emit_ptr_val(ARG1, ARG1);
a.sub(ARG1, ARG1, imm(TAG_PRIMARY_LIST));
a.ldmia(arm::Mem(ARG1), a32::GpList({TMP, ARG1}));
//a.str(TMP3, arm::Mem(TMP2).post(sizeof(Eterm)));

/* We bail at MAX_REG-1 rather than MAX_REG as the highest register
Expand Down

0 comments on commit 5318ced

Please sign in to comment.