diff options
author | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-05 14:49:04 +0000 |
---|---|---|
committer | ngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-05 14:49:04 +0000 |
commit | da4a5ef141a7d78f8e72567fc46db2de820833f7 (patch) | |
tree | 303a0397fa5c642c0d6a272961dd278a7a7ab236 /insns.def | |
parent | f4c848e158e469e031aa29a503526345e97cab75 (diff) | |
download | ruby-da4a5ef141a7d78f8e72567fc46db2de820833f7.tar.gz |
* compile.c (compile_data_alloc): add padding when strict alignment
is required for memory access. Currently, the padding is enabled
only when the CPU is 32-bit SPARC and the compiler is GCC.
[Bug #9681] [ruby-core:61715]
* compile.c (STRICT_ALIGNMENT): defined if strict alignment is required
* compile.c (ALIGNMENT_SIZE, ALIGNMENT_SIZE_MASK, PADDING_SIZE_MAX):
new macros for alignemnt word size, bit mask, max size of padding.
* compile.c (calc_padding): new function to calculate padding size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
0 files changed, 0 insertions, 0 deletions