Index: source/row_gcc.cc |
diff --git a/source/row_gcc.cc b/source/row_gcc.cc |
index e7b78b497aeeb5c0d1c753e5522faabe018c860f..918f888e4971b356104625ba94739a864e96211f 100644 |
--- a/source/row_gcc.cc |
+++ b/source/row_gcc.cc |
@@ -566,7 +566,7 @@ void ARGBToRGB565DitherRow_SSE2(const uint8* src, uint8* dst, |
: "+r"(src), // %0 |
"+r"(dst), // %1 |
"+r"(pix) // %2 |
- : "rm"(dither4) // %3 |
+ : "m"(dither4) // %3 |
: "memory", "cc", |
"xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6", "xmm7" |
); |
@@ -610,7 +610,7 @@ void ARGBToRGB565DitherRow_AVX2(const uint8* src, uint8* dst, |
: "+r"(src), // %0 |
"+r"(dst), // %1 |
"+r"(pix) // %2 |
- : "rm"(dither4) // %3 |
+ : "m"(dither4) // %3 |
: "memory", "cc", |
"xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6", "xmm7" |
); |