[ruby-cvs:69266] shyouhei:r62085 (trunk): extensive use of instruction attributes

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Mon Jan 29 15:47:06 JST 2018


shyouhei	2018-01-29 15:47:05 +0900 (Mon, 29 Jan 2018)

  New Revision: 62085

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

  Log:
    extensive use of instruction attributes
    
    Instead of using magic numbers, let us define a series of attributes
    and use them from the VM core.  Proper function declarations makes
    these attributes inlined in most modern compilers.  On my machine
    exact same binary is generated with or without this changeset.

  Modified files:
    trunk/common.mk
    trunk/tool/ruby_vm/models/bare_instructions.rb
    trunk/tool/ruby_vm/views/_insn_entry.erb
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list