Commit 8818ee72 authored by Andrey Vagin's avatar Andrey Vagin

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.
parent af7a8977
...@@ -19,7 +19,7 @@ void start(uint8_t *bytes, uint16_t *words) ...@@ -19,7 +19,7 @@ void start(uint8_t *bytes, uint16_t *words)
"psubw %%mm2, %%mm3\n" "psubw %%mm2, %%mm3\n"
: :
: "m" (bytes[0]), "m" (bytes[8]), : "m" (bytes[0]), "m" (bytes[8]),
"m" (words[0]), "m" (words[8]) "m" (words[0]), "m" (words[4])
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment