diff options
| author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-15 02:35:19 +0000 |
|---|---|---|
| committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-15 02:35:19 +0000 |
| commit | df9a70900a7380bc9b42b12ab90cf182988bcd45 (patch) | |
| tree | c0a4bf7a1b4a3819490ec9ef85296298578a1685 /include/ruby/thread_native.h | |
| parent | 39cfa67b4f56e0c79afb352b1e9bf5c914b774ca (diff) | |
__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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/thread_native.h')
0 files changed, 0 insertions, 0 deletions
