Re: [PATCH] i386 rw semaphore + use for mmap_sem

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Tue, 23 Nov 1999 02:02:35 +0100


Manfred Spraul wrote:
> I guess you need "jump if the old value was below zero"
> this would be "jump if sign or carry", but this instruction doesn't
> exist.

If you really need that you can just put two jumps, one after the
other. Doesn't do wonders for the branch predicator but it works.

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/