c49d7bd983 (master): Use reg_pc in vm_exec_core on non-GNUC compilers too

0 views
Skip to first unread message

Hiroshi SHIBATA

unread,
Oct 5, 2026, 9:47:46 PM (20 hours ago) Oct 5
to ruby...@g.ruby-lang.org
Hiroshi SHIBATA 2026-10-05 23:32:41 +0000 (Mon, 05 Oct 2026)

New Revision: c49d7bd983

https://github.com/ruby/ruby/commit/c49d7bd983

Log:
Use reg_pc in vm_exec_core on non-GNUC compilers too

Without it, MSVC merges the pc and sp updates of putobject into one 16-byte load and store on the control frame, which stalls on store forwarding from the preceding 8-byte stores.

Co-Authored-By: Claude Opus 5.5 <nor...@anthropic.com>

Modified files:
vm_exec.c
Reply all
Reply to author
Forward
0 new messages