use non-mmx of lpc_restore when order < 4
authorJosh Coalson <jcoalson@users.sourceforce.net>
Wed, 30 May 2001 00:46:11 +0000 (00:46 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Wed, 30 May 2001 00:46:11 +0000 (00:46 +0000)
src/libFLAC/i386/lpc_asm.s

index cdd192d..e2518c3 100644 (file)
@@ -698,6 +698,7 @@ cident FLAC__lpc_restore_signal_asm_i386:
        test    ebx, ebx
        jz      .end                            ; do nothing if data_len == 0
 
+.begin:
        cmp     eax, byte 1
        jg      short .x87_1more
 
@@ -901,6 +902,8 @@ cident FLAC__lpc_restore_signal_asm_i386_mmx:
 
        test    ebx, ebx
        jz      .end                            ; do nothing if data_len == 0
+       cmp     eax, 4
+       jb      near FLAC__lpc_restore_signal_asm_i386.begin
 
        mov     edx, [esp + 28]
        movd    mm6, [esp + 36]