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

Side by Side Diff: simd/jcsamss2-64.asm

Issue 1352503002: Add missing change from 'Rewrite the JDIMENSION argument management for x86 64-bit assembly' (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@master
Patch Set: Created 5 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; 1 ;
2 ; jcsamss2-64.asm - downsampling (64-bit SSE2) 2 ; jcsamss2-64.asm - downsampling (64-bit SSE2)
3 ; 3 ;
4 ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB 4 ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
5 ; Copyright 2009 D. R. Commander 5 ; Copyright 2009 D. R. Commander
6 ; 6 ;
7 ; Based on 7 ; Based on
8 ; x86 SIMD extension for IJG JPEG library 8 ; x86 SIMD extension for IJG JPEG library
9 ; Copyright (C) 1999-2006, MIYASAKA Masaru. 9 ; Copyright (C) 1999-2006, MIYASAKA Masaru.
10 ; For conditions of distribution and use, see copyright notice in jsimdext.inc 10 ; For conditions of distribution and use, see copyright notice in jsimdext.inc
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 EXTN(jsimd_h2v2_downsample_sse2): 190 EXTN(jsimd_h2v2_downsample_sse2):
191 push rbp 191 push rbp
192 mov rax,rsp 192 mov rax,rsp
193 mov rbp,rsp 193 mov rbp,rsp
194 collect_args 194 collect_args
195 195
196 mov ecx, r13d 196 mov ecx, r13d
197 shl rcx,3 ; imul rcx,DCTSIZE (rcx = output_cols) 197 shl rcx,3 ; imul rcx,DCTSIZE (rcx = output_cols)
198 jz near .return 198 jz near .return
199 199
200 » mov» rdx, r10 200 » mov» edx, r10d
201 201
202 ; -- expand_right_edge 202 ; -- expand_right_edge
203 203
204 push rcx 204 push rcx
205 shl rcx,1 ; output_cols * 2 205 shl rcx,1 ; output_cols * 2
206 sub rcx,rdx 206 sub rcx,rdx
207 jle short .expand_end 207 jle short .expand_end
208 208
209 mov rax, r11 209 mov rax, r11
210 test rax,rax 210 test rax,rax
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 jg near .rowloop 321 jg near .rowloop
322 322
323 .return: 323 .return:
324 uncollect_args 324 uncollect_args
325 pop rbp 325 pop rbp
326 ret 326 ret
327 327
328 ; For some reason, the OS X linker does not honor the request to align the 328 ; For some reason, the OS X linker does not honor the request to align the
329 ; segment unless we do this. 329 ; segment unless we do this.
330 align 16 330 align 16
OLDNEW
« 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