2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 15:21:32 +00:00

"not" doesn't affect flags, "xor $-1" does.

This commit is contained in:
Michael Brown 2007-07-15 01:25:13 +01:00
parent 7e3a8f5e10
commit 3feac9465e

View File

@ -128,7 +128,7 @@ loop1_n2b:
shl $8, %xAX
movb (%xSI), %al /* m_off = (m_off - 3)*256 + src[ilen++] */
inc %xSI
not %xAX
xor $-1, %xAX
jz decompr_end_n2b /* if (m_off == 0xffffffff) goto decomp_end_n2b */
mov %xAX, %xBP /* last_m_off = m_off ?*/
decompr_ebpeax_n2b: