From 97bca6f3df2ca4f59aea289ab7038dfecabcffca Mon Sep 17 00:00:00 2001 From: nia Date: Fri, 16 May 2025 16:12:03 +0200 Subject: [PATCH] Fix big-endian build Some new members were added to the MMX_reg union, but only for little endian. Add them to the big endian one too. Signed-off-by: Nia Alarie --- include/fpu.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/fpu.h b/include/fpu.h index e27f88896..f1280d939 100644 --- a/include/fpu.h +++ b/include/fpu.h @@ -172,6 +172,10 @@ union alignas(8) MMX_reg { } uw; static_assert(sizeof(uw) == 8, "MMX packing error"); + uint8_t uba[8]; + uint16_t uwa[4]; + uint32_t uda[2]; + struct { uint16_t w3,w2,w1,w0; } sw;