From: Josh Coalson Date: Thu, 31 May 2001 16:23:39 +0000 (+0000) Subject: explicit sizing of some immediate operands X-Git-Tag: 1.2.0~2316 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4404eddc7b8e9bd7a113146433c983fc73c6a7e;p=platform%2Fupstream%2Fflac.git explicit sizing of some immediate operands --- diff --git a/src/libFLAC/i386/lpc_asm.s b/src/libFLAC/i386/lpc_asm.s index 6dbec51..3808e29 100644 --- a/src/libFLAC/i386/lpc_asm.s +++ b/src/libFLAC/i386/lpc_asm.s @@ -102,11 +102,11 @@ cident FLAC__lpc_compute_autocorrelation_asm_i386 fld dword [eax] ; ST = d <- data[sample] mov edx, [esp + 32] ; edx <- lag (note the +4 due to the above 'push eax') mov ebx, edi ; ebx == &autoc[coeff] <- &autoc[0] - and edx, 3 ; edx <- lag % 4 + and edx, byte 3 ; edx <- lag % 4 jz .inner_start - cmp edx, 1 + cmp edx, byte 1 je .warmup_1 - cmp edx, 2 + cmp edx, byte 2 je .warmup_2 .warmup_3: fld st0 ; ST = d d @@ -1029,7 +1029,7 @@ cident FLAC__lpc_restore_signal_asm_i386_mmx test ebx, ebx jz near .end ; do nothing if data_len == 0 - cmp eax, 4 + cmp eax, byte 4 jb near FLAC__lpc_restore_signal_asm_i386.begin mov edx, [esp + 28]