<link rel="self" href="https://bugs.ruby-lang.org/issues/10081.atom"/> <link rel="alternate" href="https://bugs.ruby-lang.org/"/> <id>https://bugs.ruby-lang.org/</id> <sprite_icon>https://bugs.ruby-lang.org/assets/favicon-0e291875.ico</sprite_icon> <updated>2014-07-23T01:36:07Z</updated> <author> <name>Ruby Issue Tracking System</name> </author> <entry> <title>Ruby - Feature #10081: [PATCH] Specifying MACRO for increase performence in ppc64 https://bugs.ruby-lang.org/issues/10081?journal_id=47966 2014-07-23T01:36:07Z nobu (Nobuyoshi Nakada) nobu@ruby-lang.org <ul></ul><p>PowerPC64 can unaligned access?</p> Ruby - Feature #10081: [PATCH] Specifying MACRO for increase performence in ppc64 https://bugs.ruby-lang.org/issues/10081?journal_id=47991 2014-07-23T11:28:45Z gustavo.pedrosa (Gustavo Frederico Temple Pedrosa) <ul></ul><p>Nobuyoshi Nakada wrote:</p> <blockquote> <p>PowerPC64 can unaligned access?</p> </blockquote> <p>Yes, I have tested in my IBM POWER 7+ (rev 2.1)</p> Ruby - Feature #10081: [PATCH] Specifying MACRO for increase performence in ppc64 https://bugs.ruby-lang.org/issues/10081?journal_id=47994 2014-07-23T12:52:24Z nobu (Nobuyoshi Nakada) nobu@ruby-lang.org <ul></ul><p>Thank you.<br> Possibly, can <code>PACKED_STRUCT_UNALIGNED</code> also work on PowerPC64?</p> Ruby - Feature #10081: [PATCH] Specifying MACRO for increase performence in ppc64 https://bugs.ruby-lang.org/issues/10081?journal_id=48000 2014-07-23T14:50:19Z nobu (Nobuyoshi Nakada) nobu@ruby-lang.org <ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset r46915.</p> <hr> <p>UNALIGNED_WORD_ACCESS on ppc64</p> <ul> <li>include/ruby/defines.h, siphash.c, st.c (UNALIGNED_WORD_ACCESS):<br> add PowerPC64 too, which is capable to access unaligned words.<br> patched by Gustavo Frederico Temple Pedrosa in <a href="https://bugs.ruby-lang.org/issues/10081">[ruby-core:63937]</a>.<br> [Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: [PATCH] Specifying MACRO for increase performence in ppc64 (Closed)" href="https://bugs.ruby-lang.org/issues/10081">#10081</a>]</li> <li>regint.h (PLATFORM_UNALIGNED_WORD_ACCESS): ditto.</li> </ul>