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: third_party/libjpeg_turbo/simd/jsimdext.inc

Issue 7554002: Updates libjpeg-turbo to 1.1.90 (r677) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: '' Created 9 years, 5 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 | « third_party/libjpeg_turbo/simd/jsimd_x86_64.c ('k') | third_party/libjpeg_turbo/tjbench.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libjpeg_turbo/simd/jsimdext.inc
===================================================================
--- third_party/libjpeg_turbo/simd/jsimdext.inc (revision 95020)
+++ third_party/libjpeg_turbo/simd/jsimdext.inc (working copy)
@@ -38,19 +38,27 @@
; -- segment definition --
;
-%define SEG_TEXT .text align=16 ; public use32 class=CODE
-%define SEG_CONST .rdata align=16 ; public use32 class=CONST
+%ifdef __YASM_VER__
+%define SEG_TEXT .text align=16
+%define SEG_CONST .rdata align=16
+%else
+%define SEG_TEXT .text align=16 public use32 class=CODE
+%define SEG_CONST .rdata align=16 public use32 class=CONST
+%endif
%elifdef WIN64 ; ----(nasm -fwin64 -DWIN64 ...)--------
; * Microsoft Visual C++
; -- segment definition --
;
-%define SEG_TEXT .text align=16 ; public use64 class=CODE
-%define SEG_CONST .rdata align=16 ; public use64 class=CONST
-%ifdef MSVC
+%ifdef __YASM_VER__
+%define SEG_TEXT .text align=16
+%define SEG_CONST .rdata align=16
+%else
+%define SEG_TEXT .text align=16 public use64 class=CODE
+%define SEG_CONST .rdata align=16 public use64 class=CONST
+%endif
%define EXTN(name) name ; foo() -> foo
-%endif
%elifdef OBJ32 ; ----(nasm -fobj -DOBJ32 ...)----------
; * Borland C++ (Win32)
@@ -299,8 +307,6 @@
%ifdef WIN64
%imacro collect_args 0
- push r10
- push r11
push r12
push r13
push r14
@@ -330,8 +336,6 @@
pop r14
pop r13
pop r12
- pop r11
- pop r10
%endmacro
%else
« no previous file with comments | « third_party/libjpeg_turbo/simd/jsimd_x86_64.c ('k') | third_party/libjpeg_turbo/tjbench.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698