diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2022-08-23 13:41:22 -0400 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-08-29 09:09:41 -0700 |
| commit | 54c7bc67a2d54311b77aca9233b23a9e7a1ca581 (patch) | |
| tree | 26e2da017378285c18edecd671fbeea896178768 /spec/ruby/core/kernel/Hash_spec.rb | |
| parent | d433eb957bf3826e7aea97c12f0cdc9fcb9a1b43 (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/kernel/Hash_spec.rb')
0 files changed, 0 insertions, 0 deletions
