]> granicus.if.org Git - libjpeg-turbo/commitdiff
Fix build with YASM
authorDRC <dcommander@users.sourceforge.net>
Tue, 3 Aug 2010 18:45:11 +0000 (18:45 +0000)
committerDRC <dcommander@users.sourceforge.net>
Tue, 3 Aug 2010 18:45:11 +0000 (18:45 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@222 632fc199-4ca6-4c93-a231-07263d6284db

simd/jcsammmx.asm
simd/jdmrgmmx.asm

index c7126a0d4a4287da7b90d27aedfc735f561041b7..9e43b2f85e615ca61e82affe4ed06d9c22c9aa64 100644 (file)
@@ -95,7 +95,7 @@ EXTN(jsimd_h2v1_downsample_mmx):
 
        mov     eax, JDIMENSION [v_samp(ebp)]   ; rowctr
        test    eax,eax
-       jle     short .return
+       jle     near .return
 
        mov       edx, 0x00010000       ; bias pattern
        movd      mm7,edx
index f5fa93634d49539b652396c2e94b79f08d65a814..b5777a3e165ace2b836e37ac944aa40db35a174f 100644 (file)
@@ -253,7 +253,7 @@ EXTN(jsimd_h2v1_merged_upsample_mmx):
        movq    MMWORD [edi+2*SIZEOF_MMWORD], mmC
 
        sub     ecx, byte SIZEOF_MMWORD
-       jz      short .endcolumn
+       jz      near .endcolumn
 
        add     edi, byte RGB_PIXELSIZE*SIZEOF_MMWORD   ; outptr
        add     esi, byte SIZEOF_MMWORD                 ; inptr0