Skip to content

Commit

Permalink
📝 impove aarch64 switching performance (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xudong-Huang committed Apr 21, 2023
1 parent 8fb671e commit b7ebfbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/detail/asm/asm_aarch64_aapcs_elf_gas.S
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ swap_registers:
ldp d12, d13, [x1, #144]
ldp d14, d15, [x1, #160]

ret
br x30
.size swap_registers,.-swap_registers

/* Mark that we don't need executable stack. */
Expand Down
2 changes: 1 addition & 1 deletion src/detail/asm/asm_aarch64_aapcs_macho_gas.S
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ _swap_registers:
ldp d12, d13, [x1, #144]
ldp d14, d15, [x1, #160]

ret
br x30

0 comments on commit b7ebfbb

Please sign in to comment.