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

Side by Side Diff: simd/jcclrss2.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « simd/jcclrmmx.asm ('k') | simd/jcclrss2-64.asm » ('j') | 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 ; jcclrss2.asm - colorspace conversion (SSE2) 2 ; jcclrss2.asm - colorspace conversion (SSE2)
3 ; 3 ;
4 ; x86 SIMD extension for IJG JPEG library 4 ; x86 SIMD extension for IJG JPEG library
5 ; Copyright (C) 1999-2006, MIYASAKA Masaru. 5 ; Copyright (C) 1999-2006, MIYASAKA Masaru.
6 ; For conditions of distribution and use, see copyright notice in jsimdext.inc 6 ; For conditions of distribution and use, see copyright notice in jsimdext.inc
7 ; 7 ;
8 ; This file should be assembled with NASM (Netwide Assembler), 8 ; This file should be assembled with NASM (Netwide Assembler),
9 ; can *not* be assembled with Microsoft's MASM or any compatible 9 ; can *not* be assembled with Microsoft's MASM or any compatible
10 ; assembler (including Borland's Turbo Assembler). 10 ; assembler (including Borland's Turbo Assembler).
11 ; NASM is available from http://nasm.sourceforge.net/ or 11 ; NASM is available from http://nasm.sourceforge.net/ or
12 ; http://sourceforge.net/project/showfiles.php?group_id=6208 12 ; http://sourceforge.net/project/showfiles.php?group_id=6208
13 ; 13 ;
14 ; [TAB8] 14 ; [TAB8]
15 15
16 %include "jcolsamp.inc" 16 %include "jcolsamp.inc"
17 17
18 ; -------------------------------------------------------------------------- 18 ; --------------------------------------------------------------------------
19 %ifndef NEED_SECTION
20 %define NEED_SECTION
19 SECTION SEG_TEXT 21 SECTION SEG_TEXT
20 BITS 32 22 BITS 32
23 %endif
24
21 ; 25 ;
22 ; Convert some rows of samples to the output colorspace. 26 ; Convert some rows of samples to the output colorspace.
23 ; 27 ;
24 ; GLOBAL(void) 28 ; GLOBAL(void)
25 ; jsimd_rgb_ycc_convert_sse2 (JDIMENSION img_width, 29 ; jsimd_rgb_ycc_convert_sse2 (JDIMENSION img_width,
26 ; JSAMPARRAY input_buf, JSAMPIMAGE output_buf, 30 ; JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
27 ; JDIMENSION output_row, int num_rows); 31 ; JDIMENSION output_row, int num_rows);
28 ; 32 ;
29 33
30 %define img_width(b) (b)+8 ; JDIMENSION img_width 34 %define img_width(b) (b)+8 ; JDIMENSION img_width
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 ; pop ecx ; need not be preserved 500 ; pop ecx ; need not be preserved
497 pop ebx 501 pop ebx
498 mov esp,ebp ; esp <- aligned ebp 502 mov esp,ebp ; esp <- aligned ebp
499 pop esp ; esp <- original ebp 503 pop esp ; esp <- original ebp
500 pop ebp 504 pop ebp
501 ret 505 ret
502 506
503 ; For some reason, the OS X linker does not honor the request to align the 507 ; For some reason, the OS X linker does not honor the request to align the
504 ; segment unless we do this. 508 ; segment unless we do this.
505 align 16 509 align 16
OLDNEW
« no previous file with comments | « simd/jcclrmmx.asm ('k') | simd/jcclrss2-64.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698