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 <nia@NetBSD.org>
This commit is contained in:
nia
2025-05-16 16:12:03 +02:00
parent 32b14ce68a
commit 97bca6f3df

View File

@@ -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;