From a40bf26263f95e37a157d3db7bc035f2b6ad4fa8 Mon Sep 17 00:00:00 2001 From: mio Date: Fri, 28 Oct 2022 17:53:20 +0200 Subject: [PATCH] Disable test_x86_unaligned_access on be hosts --- tests/unit/test_x86.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/unit/test_x86.c b/tests/unit/test_x86.c index f403dfb2..8e9d7cd3 100644 --- a/tests/unit/test_x86.c +++ b/tests/unit/test_x86.c @@ -1124,7 +1124,10 @@ static void test_x86_invalid_vex_l(void) OK(uc_close(uc)); } -#ifndef TARGET_READ_INLINED +// AARCH64 inline the read while s390x won't split the access. Though not tested on other hosts +// but we restrict a bit more. +#if !defined(TARGET_READ_INLINED) && defined(BOOST_LITTLE_ENDIAN) + struct writelog_t { uint32_t addr, size; };