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

Unified Diff: source/scale_gcc.cc

Issue 2091913003: make count a memory variable for 32 bit (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: Created 4 years, 6 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/scale_gcc.cc
diff --git a/source/scale_gcc.cc b/source/scale_gcc.cc
index 8d234edaf20e6eed4f668fc01a640c94b3b71e71..e2f88544b7f5b198f1eaecff91bed45b16fcaf19 100644
--- a/source/scale_gcc.cc
+++ b/source/scale_gcc.cc
@@ -878,7 +878,7 @@ void ScaleFilterCols_SSSE3(uint8* dst_ptr, const uint8* src_ptr,
"movd %%xmm1,%k2 \n"
"mov %w2," MEMACCESS(0) " \n"
"lea " MEMLEA(0x2,0) ",%0 \n"
- "sub $0x2,%5 \n"
+ "subl $0x2,%5 \n"
"jge 2b \n"
LABELALIGN
@@ -904,7 +904,11 @@ void ScaleFilterCols_SSSE3(uint8* dst_ptr, const uint8* src_ptr,
"=&a"(temp_pixel), // %2
"=&r"(x0), // %3
"=&r"(x1), // %4
+#if defined(__x86_64__)
"+rm"(dst_width) // %5
+#else
+ "+m"(dst_width) // %5
+#endif
: "rm"(x), // %6
"rm"(dx), // %7
#if defined(__x86_64__)
« 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