History log of /isa-l/include/unaligned.h (Results 1 – 7 of 7)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v2.31.1
# ae034d6f 11-Mar-2024 Taiju Yamada <tyamada@bi.a.u-tokyo.ac.jp>

Use _byteswap_ushort etc for WIN32

Signed-off-by: Taiju Yamada <tyamada@bi.a.u-tokyo.ac.jp>


# 0231d314 03-May-2024 Greg Troxel <gdt@lexort.com>

Extend FreeBSD conditional about byte ordering to NetBSD

NetBSD has the same byte-ordering idioms as FreeBSD.

Signed-off-by: Greg Troxel <gdt@lexort.com>


# fa5b8baf 19-Apr-2024 Marcel Cornu <marcel.d.cornu@intel.com>

include: reformat using new code style

Signed-off-by: Marcel Cornu <marcel.d.cornu@intel.com>


Revision tags: v2.31.0
# d3cfb2fb 11-Nov-2021 Ilya Leoshkevich <iii@linux.ibm.com>

Fix s390 build

The goal of this patch is to make isa-l testsuite pass on s390 with
minimal changes to the library. The one and only reason isa-l does not
work on s390 at the moment is that s390 is b

Fix s390 build

The goal of this patch is to make isa-l testsuite pass on s390 with
minimal changes to the library. The one and only reason isa-l does not
work on s390 at the moment is that s390 is big-endian, and isa-l
assumes little-endian at a lot of places.

There are two flavors of this: loading/storing integers from/to
memory, and overlapping structs. Loads/stores are already helpfully
wrapped by unaligned.h header, so replace the functions there with
endianness-aware variants. Solve struct member overlap by reversing
their order on big-endian.

Also, fix a couple of usages of uninitialized memory in the testsuite
(found with MemorySanitizer).

Fixes s390x part of #188.

Change-Id: Iaf14a113bd266900192cc8b44212f8a47a8c7753
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>

show more ...


Revision tags: v2.30.0, v2.29.0, v2.28.0, v2.27.0, v2.26.0
# aae6e29d 13-Dec-2018 Roy Oursler <roy.j.oursler@intel.com>

igzip: Remove unaligned stores

Change-Id: I8d351c8b7153178d26d6fc702ee3036b71165b93
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>


# a3169750 13-Dec-2018 Roy Oursler <roy.j.oursler@intel.com>

mem: Remove unaligned loads in base function

Change-Id: I8fb0f2e2e372485c864d5c60f816b661a865b707
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>


# 5be1ba22 13-Dec-2018 Roy Oursler <roy.j.oursler@intel.com>

igzip: Remove undefined unaligned loads

Change-Id: I02591d958f8691d07b261218cf5ab361e8ad36c9
Signed-off-by: Roy Oursler <roy.j.oursler@intel.com>