[ruby-cvs:71803] k0kubun:r64711 (trunk): vm_insnhelper.h: simplify EXEC_EC_CFP implementation

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Thu Sep 13 15:39:40 JST 2018


k0kubun	2018-09-13 15:39:40 +0900 (Thu, 13 Sep 2018)

  New Revision: 64711

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

  Log:
    vm_insnhelper.h: simplify EXEC_EC_CFP implementation
    
    and possibly memory access for iseq->body may be reduced.
    
    No significant impact for performance on Optcarrot.
    
    * before
    fps: 55.03865935187656
    fps: 57.16854675983188
    fps: 57.672458407661765
    fps: 58.28989837869383
    fps: 58.80503815099268
    fps: 59.068054176528534
    fps: 59.55736806358244
    fps: 61.01018920533034
    fps: 63.34167049232186
    fps: 65.20575018321766
    fps: 65.46758316561318
    
    * after
    fps: 55.21860411005677
    fps: 55.34840351179166
    fps: 58.23666596747484
    fps: 59.71987124578901
    fps: 61.131485120234935
    fps: 61.279905164649485
    fps: 61.66060774175459
    fps: 64.11215576508765
    fps: 64.63699742853154
    fps: 65.28260058920769
    fps: 65.85447796482678

  Modified files:
    trunk/mjit.h
    trunk/tool/ruby_vm/views/_mjit_compile_send.erb
    trunk/vm.c
    trunk/vm_insnhelper.h


More information about the ruby-cvs mailing list