This is the mail archive of the
mailing list for the GCC project.
Re: i386 and asm jumping
On Tue, May 07, 2002 at 07:32:39PM +0200, Johan Rydberg wrote:
> The code above will generate; load cnt into register,
> decrement register, store register and jump to HANDLER
> if zero flag is set. I would like to replace this with
> the following assembler code:
> decl cnt
> jz HANDLER
> jmp NEXT
> Speed is everything :)
I think you'd be better off fixing whatever in the compiler that
is preventing this rather than playing with funny asm statements.