]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/tcg: only read/write 64 bit words on 64 bit systems
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 16 Sep 2024 08:53:53 +0000 (09:53 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 19 Sep 2024 14:58:01 +0000 (15:58 +0100)
commitaa5584b579fce7c7b4f06a1c8936210fda3d1ece
treee4b05d274f9bca22a48a3a4cbd4be54e79b848e5
parent34f29c6c5b82cb409292e018c7561ae2843cfce0
tests/tcg: only read/write 64 bit words on 64 bit systems

While the compilers will generally happily synthesise a 64 bit value
for you on 32 bit systems it doesn't exercise anything on QEMU. It
also makes it hard to accurately compare the accesses to test_data
when instrumenting.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240916085400.1046925-12-alex.bennee@linaro.org>
tests/tcg/multiarch/system/memory.c