[ruby-core:63983] [ruby-trunk - Feature #10087] [Open] [PATCH] Specifying "target_cpu" for structure packing in ppc64

From: gustavo.pedrosa@...
Date: 2014-07-23 17:11:53 UTC
List: ruby-core #63983
Issue #10087 has been reported by Gustavo Frederico Temple Pedrosa.

----------------------------------------
Feature #10087: [PATCH] Specifying "target_cpu" for structure packing in ppc64
https://bugs.ruby-lang.org/issues/10087

* Author: Gustavo Frederico Temple Pedrosa
* Status: Open
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: core
* Target version: current: 2.2.0
----------------------------------------
This change adds new "target_cpu" for structure packing in ppc64.

~~~
- [x86*|i?86|x64], [packed_struct_unaligned='PACKED_STRUCT(x)'])
+ [x86*|i?86|x64|powerpc64*|ppc64*], [packed_struct_unaligned='PACKED_STRUCT(x)'])
~~~

Note: The change is compatible with powerpc64 little endian (powerpc64le).

---Files--------------------------------
packed_struct_ppc64.patch (537 Bytes)


-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next