summaryrefslogtreecommitdiff
path: root/spec/ruby/core/module/using_spec.rb
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2022-08-23 13:41:22 -0400
committerTakashi Kokubun <takashikkbn@gmail.com>2022-08-29 09:09:41 -0700
commit54c7bc67a2d54311b77aca9233b23a9e7a1ca581 (patch)
tree26e2da017378285c18edecd671fbeea896178768 /spec/ruby/core/module/using_spec.rb
parentd433eb957bf3826e7aea97c12f0cdc9fcb9a1b43 (diff)
Various AArch64 optimizations (https://github.com/Shopify/ruby/pull/433)
* When we're storing an immediate 0 value at a memory address, we can use STUR XZR, Xd instead of loading 0 into a register and then storing that register. * When we're moving 0 into an argument register, we can use MOV Xd, XZR instead of loading the value into a register first. * In the newarray instruction, we can skip looking at the stack at all if the number of values we're using is 0.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6289
Diffstat (limited to 'spec/ruby/core/module/using_spec.rb')
0 files changed, 0 insertions, 0 deletions