[前][次][番号順一覧][スレッド一覧]

ruby-changes:50552

From: k0kubun <ko1@a...>
Date: Wed, 7 Mar 2018 23:35:33 +0900 (JST)
Subject: [ruby-changes:50552] k0kubun:r62693 (trunk): transform_mjit_header.rb: inline ivar operations

k0kubun	2018-03-07 23:35:28 +0900 (Wed, 07 Mar 2018)

  New Revision: 62693

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

  Log:
    transform_mjit_header.rb: inline ivar operations
    
    * Optcarrot
    
    before,--jit: ruby 2.6.0dev (2018-03-07 trunk 62689) +JIT [x86_64-linux]
    after,--jit: ruby 2.6.0dev (2018-03-07 trunk 62689) +JIT [x86_64-linux]
    last_commit=transform_mjit_header.rb: inline ivar operations
    Calculating -------------------------------------
                         before,--jit  after,--jit
               optcarrot       67.852       69.359 fps
    
    Comparison:
                            optcarrot
             after,--jit:        69.4 fps
            before,--jit:        67.9 fps - 1.02x  slower

  Modified files:
    trunk/tool/transform_mjit_header.rb
Index: tool/transform_mjit_header.rb
===================================================================
--- tool/transform_mjit_header.rb	(revision 62692)
+++ tool/transform_mjit_header.rb	(revision 62693)
@@ -53,6 +53,9 @@ module MJITHeader https://github.com/ruby/ruby/blob/trunk/tool/transform_mjit_header.rb#L53
     'vm_opt_aref_with',
     'vm_opt_aset_with',
     'vm_opt_not',
+    'vm_getinstancevariable',
+    'vm_setinstancevariable',
+    'vm_setivar',
   ]
 
   # Return start..stop of last decl in CODE ending STOP

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]