[ruby-cvs:69838] k0kubun:r62678 (trunk): _mjit_compile_pc_and_sp.erb: skip moving pc

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Tue Mar 6 22:23:22 JST 2018


k0kubun	2018-03-06 22:23:22 +0900 (Tue, 06 Mar 2018)

  New Revision: 62678

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62678

  Log:
    _mjit_compile_pc_and_sp.erb: skip moving pc
    
    on !body->catch_except_p. We need to move pc only when JIT execution is
    canceled if the frame does not catch an exception.
    
    _mjit_compile_insn.erb: lazily move pc for such optimized case
    _mjit_compile_insn_body.erb: ditto
    _mjit_compile_send.erb: ditto
    
    * Optcarrot benchmark (--jit)
    
    Before: 65.31 fps
    After: 67.82 fps

  Modified files:
    trunk/tool/ruby_vm/views/_mjit_compile_insn.erb
    trunk/tool/ruby_vm/views/_mjit_compile_insn_body.erb
    trunk/tool/ruby_vm/views/_mjit_compile_pc_and_sp.erb
    trunk/tool/ruby_vm/views/_mjit_compile_send.erb


More information about the ruby-cvs mailing list