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

Unified Diff: simd/jdmrgss2.asm

Issue 6883217: Fix yasm warnings in libjpeg-turbo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libjpeg_turbo/
Patch Set: '' Created 9 years, 8 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 | « simd/jdmrgmmx.asm ('k') | simd/jdmrgss2-64.asm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: simd/jdmrgss2.asm
===================================================================
--- simd/jdmrgss2.asm (revision 78340)
+++ simd/jdmrgss2.asm (working copy)
@@ -19,8 +19,12 @@
%include "jcolsamp.inc"
; --------------------------------------------------------------------------
+%ifndef NEED_SECTION
+%define NEED_SECTION
SECTION SEG_TEXT
BITS 32
+%endif
+
;
; Upsample and color convert for the case of 2:1 horizontal and 1:1 vertical.
;
@@ -478,9 +482,9 @@
cmp ecx, byte SIZEOF_XMMWORD/8
jb short .column_st7
movq MMWORD [edi], xmmA
- add edi, byte SIZEOF_XMMWORD/2
+ add edi, byte SIZEOF_XMMWORD/8*4
sub ecx, byte SIZEOF_XMMWORD/8
- psrldq xmmA, 64
+ psrldq xmmA, SIZEOF_XMMWORD/8*4
.column_st7:
; Store one pixel (4 bytes) of xmmA to the output when it has enough
; space.
« no previous file with comments | « simd/jdmrgmmx.asm ('k') | simd/jdmrgss2-64.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698