~ubuntu-branches/ubuntu/saucy/libjpeg-turbo/saucy-security

« back to all changes in this revision

Viewing changes to simd/jdmrgss2.asm

  • Committer: Package Import Robot
  • Author(s): Fathi Boudra
  • Date: 2013-07-28 16:52:51 UTC
  • mfrom: (1.1.3) (9.1.1 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130728165251-7vg6wszhm941kdej
Tags: 1.3.0-0ubuntu1
* New upstream release.
  - drop debian/patches/branch-updates.diff
  - refresh tjunittest.patch (now renamed to install-tjunittest.patch)
* Update debian/control:
  - add myself to Uploaders.
* Update debian/copyright:
  - add RSA Data Security copyright (md5).
* Update debian/libturbojpeg.install:
  - install libturbojpeg.so.0* (needed by tjunittest and tjbench).

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
; jdmrgss2.asm - merged upsampling/color conversion (SSE2)
3
3
;
4
4
; Copyright 2009, 2012 Pierre Ossman <ossman@cendio.se> for Cendio AB
 
5
; Copyright 2012 D. R. Commander
5
6
;
6
7
; Based on
7
8
; x86 SIMD extension for IJG JPEG library
305
306
        ; space.
306
307
        cmp     ecx, byte SIZEOF_MMWORD
307
308
        jb      short .column_st7
308
 
        movq    MMWORD [edi], xmmA
 
309
        movq    XMM_MMWORD [edi], xmmA
309
310
        add     edi, byte SIZEOF_MMWORD
310
311
        sub     ecx, byte SIZEOF_MMWORD
311
312
        psrldq  xmmA, SIZEOF_MMWORD
314
315
        ; space.
315
316
        cmp     ecx, byte SIZEOF_DWORD
316
317
        jb      short .column_st3
317
 
        movd    DWORD [edi], xmmA
 
318
        movd    XMM_DWORD [edi], xmmA
318
319
        add     edi, byte SIZEOF_DWORD
319
320
        sub     ecx, byte SIZEOF_DWORD
320
321
        psrldq  xmmA, SIZEOF_DWORD
419
420
        ; space.
420
421
        cmp     ecx, byte SIZEOF_XMMWORD/8
421
422
        jb      short .column_st7
422
 
        movq    MMWORD [edi], xmmA
 
423
        movq    XMM_MMWORD [edi], xmmA
423
424
        add     edi, byte SIZEOF_XMMWORD/8*4
424
425
        sub     ecx, byte SIZEOF_XMMWORD/8
425
426
        psrldq  xmmA, SIZEOF_XMMWORD/8*4
428
429
        ; space.
429
430
        test    ecx, ecx
430
431
        jz      short .endcolumn
431
 
        movd    DWORD [edi], xmmA
 
432
        movd    XMM_DWORD [edi], xmmA
432
433
 
433
434
%endif ; RGB_PIXELSIZE ; ---------------
434
435