From 63360be4d23fabf6db811e10770fabd326a703fa Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 23 Jul 2014 14:50:12 +0000 Subject: UNALIGNED_WORD_ACCESS on ppc64 * include/ruby/defines.h, siphash.c, st.c (UNALIGNED_WORD_ACCESS): add PowerPC64 too, which is capable to access unaligned words. patched by Gustavo Frederico Temple Pedrosa in [ruby-core:63937]. [Feature #10081] * regint.h (PLATFORM_UNALIGNED_WORD_ACCESS): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/defines.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/ruby/defines.h b/include/ruby/defines.h index 0a192d70d2..ffa24a0a3b 100644 --- a/include/ruby/defines.h +++ b/include/ruby/defines.h @@ -264,6 +264,7 @@ void rb_ia64_flushrs(void); #ifndef UNALIGNED_WORD_ACCESS # if defined(__i386) || defined(__i386__) || defined(_M_IX86) || \ defined(__x86_64) || defined(__x86_64__) || defined(_M_AMD64) || \ + defined(__powerpc64__) || \ defined(__mc68020__) # define UNALIGNED_WORD_ACCESS 1 # else -- cgit v1.2.3