2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

zdtm: fix warnings in mmx00.c

mmx00.c:22:34: warning: array subscript is above array bounds
[-Warray-bounds]
mmx00.c:22:34: warning: array subscript is above array bounds
[-Warray-bounds]

PSUBW handles 64 bits.
This commit is contained in:
Andrey Vagin
2012-01-27 12:56:22 +04:00
parent af7a89778c
commit 8818ee72e6

View File

@@ -19,7 +19,7 @@ void start(uint8_t *bytes, uint16_t *words)
"psubw %%mm2, %%mm3\n"
:
: "m" (bytes[0]), "m" (bytes[8]),
"m" (words[0]), "m" (words[8])
"m" (words[0]), "m" (words[4])
);
}