[ruby-cvs:69012] shyouhei:r61830 (trunk): __builtin_alloca_with_align for optimal memory access

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Mon Jan 15 11:35:19 JST 2018


shyouhei	2018-01-15 11:35:19 +0900 (Mon, 15 Jan 2018)

  New Revision: 61830

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

  Log:
    __builtin_alloca_with_align for optimal memory access
    
    ALLOCA_N takes type arugment.  It is natural that the returned
    value to be used as an array of type, thus type-aligned.
    Luckily GCC has a builtin to tell compiler such alignment info.
    This should generate beter instructions.

  Modified files:
    trunk/configure.ac
    trunk/include/ruby/ruby.h


More information about the ruby-cvs mailing list