Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: source/row_gcc.cc

Issue 1399463002: Fix for AVX2 dither function. (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698