General

Profile

alanwu (Alan Wu)

  • Login: alanwu
  • Registered on: 10/28/2018
  • Last sign in: 04/24/2024

Issues

open closed Total
Assigned issues 3 13 16
Reported issues 0 41 41

Projects

Project Roles Registered on
Ruby master Committer 03/19/2021

Activity

04/22/2024

06:33 PM Ruby master Revision aeb08bc8 (git): YJIT: Fix String#setbyte crashing for converted arguments
Previously, passing objects that respond to #to_int to `String#setbyte`
resulted in a crash when compiled by YJIT. Th...
alanwu (Alan Wu)
03:16 PM Ruby master Revision 1bb7638e (git): YJIT: Fix shrinking block with assumption too much (#10585)
* YJIT: Fix shrinking block with assumption too much
Under the very specific circumstances, discovered by a test cas...
alanwu (Alan Wu)

04/19/2024

04:47 PM Ruby master Revision c8783441 (git): Revert "YJIT: Optimize local variables when EP == BP" (#10584)
This reverts commit 4cc58ea0b865f2fd20f1e881ddbd4c4fab0b072c.
Since the change landed call-threshold=1 CI runs have ...
alanwu (Alan Wu)

04/18/2024

02:04 PM Ruby master Revision 28efc0c9 (git): YJIT: Fix canary crash with Array#<< (#10568)
Previously, we got "We are killing the stack canary set by opt_ltlt"
from `$./miniruby --yjit-call-threshold=1 -e 'a ...
alanwu (Alan Wu)

04/17/2024

09:48 PM Ruby master Revision 8b813015 (git): YJIT: A64: Use CBZ/CBNZ to check for zero
* YJIT: A64: Add CBZ and CBNZ encoding functions
* YJIT: A64: Use CBZ/CBNZ to check for zero
Instead of emitting `c...
alanwu (Alan Wu)

04/15/2024

03:59 PM Ruby master Revision 2eafed0f (git): YJIT: A64: Avoid intermediate register in `opt_and` and friends (#10509)
Same idea as the x64 equivalent in c2622b52536c5, removing the register
shuffle coming from the pop two, push one sta...
alanwu (Alan Wu)

04/11/2024

02:37 PM Ruby master Revision c2622b52 (git): YJIT: x64: Remove register shuffle with `opt_and` and friends (#10498)
This is best understood by looking at the change to the output:
```diff
# Insn: 0002 opt_and (stack_size: 2)
- m...
alanwu (Alan Wu)

04/08/2024

04:31 PM Ruby master Revision 478b4ef9 (git): Fix nil error with KNOWNBUGS.rb
Previously, `make test-knownbugs` crashed with `NoMethodError` due to
the failed regex match if there is a test case ...
alanwu (Alan Wu)

04/02/2024

04:29 PM Ruby master Revision 3c4de946 (git): YJIT: A64: Use ADDS/SUBS/CMP (immediate) when possible (#10402)
* YJIT: A64: Use ADDS/SUBS/CMP (immediate) when possible
We were loading 1 into a register and then doing ADDS/SUBS ...
alanwu (Alan Wu)

03/28/2024

09:41 PM Ruby master Revision f3c35749 (git): YJIT: Optimize putobject+opt_ltlt for integers
In `jit_rb_int_lshift()`, we guard against the right hand side changing
since we want to avoid generating variable le...
alanwu (Alan Wu)

Also available in: Atom