This allows those libraries to be used on MultiArch-compatible systems (such as
Ubuntu 11 and later) without setting the linker path.
+[3] Fixed a regression caused by 1.2.1[7] whereby the build would fail with
+multiple "Mismatch in operand sizes" errors when attempting to build the x86
+SIMD code with NASM 0.98.
+
1.2.1
=====
; jdclrss2-64.asm - colorspace conversion (64-bit SSE2)
;
; Copyright 2009, 2012 Pierre Ossman <ossman@cendio.se> for Cendio AB
-; Copyright 2009 D. R. Commander
+; Copyright 2009, 2012 D. R. Commander
;
; Based on
; x86 SIMD extension for IJG JPEG library
; space.
cmp rcx, byte SIZEOF_MMWORD
jb short .column_st7
- movq MMWORD [rdi], xmmA
+ movq XMM_MMWORD [rdi], xmmA
add rdi, byte SIZEOF_MMWORD
sub rcx, byte SIZEOF_MMWORD
psrldq xmmA, SIZEOF_MMWORD
; space.
cmp rcx, byte SIZEOF_DWORD
jb short .column_st3
- movd DWORD [rdi], xmmA
+ movd XMM_DWORD [rdi], xmmA
add rdi, byte SIZEOF_DWORD
sub rcx, byte SIZEOF_DWORD
psrldq xmmA, SIZEOF_DWORD
; space.
test rcx, rcx
jz short .nextrow
- movd DWORD [rdi], xmmA
+ movd XMM_DWORD [rdi], xmmA
%endif ; RGB_PIXELSIZE ; ---------------
; jdclrss2.asm - colorspace conversion (SSE2)
;
; Copyright 2009, 2012 Pierre Ossman <ossman@cendio.se> for Cendio AB
+; Copyright 2012 D. R. Commander
;
; Based on
; x86 SIMD extension for IJG JPEG library
; space.
cmp ecx, byte SIZEOF_MMWORD
jb short .column_st7
- movq MMWORD [edi], xmmA
+ movq XMM_MMWORD [edi], xmmA
add edi, byte SIZEOF_MMWORD
sub ecx, byte SIZEOF_MMWORD
psrldq xmmA, SIZEOF_MMWORD
; space.
cmp ecx, byte SIZEOF_DWORD
jb short .column_st3
- movd DWORD [edi], xmmA
+ movd XMM_DWORD [edi], xmmA
add edi, byte SIZEOF_DWORD
sub ecx, byte SIZEOF_DWORD
psrldq xmmA, SIZEOF_DWORD
; space.
cmp ecx, byte SIZEOF_XMMWORD/8
jb short .column_st7
- movq MMWORD [edi], xmmA
+ movq XMM_MMWORD [edi], xmmA
add edi, byte SIZEOF_XMMWORD/8*4
sub ecx, byte SIZEOF_XMMWORD/8
psrldq xmmA, SIZEOF_XMMWORD/8*4
; space.
test ecx, ecx
jz short .nextrow
- movd DWORD [edi], xmmA
+ movd XMM_DWORD [edi], xmmA
%endif ; RGB_PIXELSIZE ; ---------------
; jdmrgss2-64.asm - merged upsampling/color conversion (64-bit SSE2)
;
; Copyright 2009, 2012 Pierre Ossman <ossman@cendio.se> for Cendio AB
-; Copyright 2009 D. R. Commander
+; Copyright 2009, 2012 D. R. Commander
;
; Based on
; x86 SIMD extension for IJG JPEG library
; space.
cmp rcx, byte SIZEOF_MMWORD
jb short .column_st7
- movq MMWORD [rdi], xmmA
+ movq XMM_MMWORD [rdi], xmmA
add rdi, byte SIZEOF_MMWORD
sub rcx, byte SIZEOF_MMWORD
psrldq xmmA, SIZEOF_MMWORD
; space.
cmp rcx, byte SIZEOF_DWORD
jb short .column_st3
- movd DWORD [rdi], xmmA
+ movd XMM_DWORD [rdi], xmmA
add rdi, byte SIZEOF_DWORD
sub rcx, byte SIZEOF_DWORD
psrldq xmmA, SIZEOF_DWORD
; space.
cmp rcx, byte SIZEOF_XMMWORD/8
jb short .column_st7
- movq MMWORD [rdi], xmmA
+ movq XMM_MMWORD [rdi], xmmA
add rdi, byte SIZEOF_XMMWORD/8*4
sub rcx, byte SIZEOF_XMMWORD/8
psrldq xmmA, SIZEOF_XMMWORD/8*4
; space.
test rcx, rcx
jz short .endcolumn
- movd DWORD [rdi], xmmA
+ movd XMM_DWORD [rdi], xmmA
%endif ; RGB_PIXELSIZE ; ---------------
; jdmrgss2.asm - merged upsampling/color conversion (SSE2)
;
; Copyright 2009, 2012 Pierre Ossman <ossman@cendio.se> for Cendio AB
+; Copyright 2012 D. R. Commander
;
; Based on
; x86 SIMD extension for IJG JPEG library
; space.
cmp ecx, byte SIZEOF_MMWORD
jb short .column_st7
- movq MMWORD [edi], xmmA
+ movq XMM_MMWORD [edi], xmmA
add edi, byte SIZEOF_MMWORD
sub ecx, byte SIZEOF_MMWORD
psrldq xmmA, SIZEOF_MMWORD
; space.
cmp ecx, byte SIZEOF_DWORD
jb short .column_st3
- movd DWORD [edi], xmmA
+ movd XMM_DWORD [edi], xmmA
add edi, byte SIZEOF_DWORD
sub ecx, byte SIZEOF_DWORD
psrldq xmmA, SIZEOF_DWORD
; space.
cmp ecx, byte SIZEOF_XMMWORD/8
jb short .column_st7
- movq MMWORD [edi], xmmA
+ movq XMM_MMWORD [edi], xmmA
add edi, byte SIZEOF_XMMWORD/8*4
sub ecx, byte SIZEOF_XMMWORD/8
psrldq xmmA, SIZEOF_XMMWORD/8*4
; space.
test ecx, ecx
jz short .endcolumn
- movd DWORD [edi], xmmA
+ movd XMM_DWORD [edi], xmmA
%endif ; RGB_PIXELSIZE ; ---------------