Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jun 2005 14:44:38 +0200
From:      gerarra@tin.it
To:        freebsd-hackers@freebsd.org
Cc:        NKoch@demig.de
Subject:   RE: Obvious bug in /sys/i386/include/bus.h (was: bus_at386.h)
Message-ID:  <429C8E8F00018903@ims3a.cp.tin.it>
In-Reply-To: <000001c57016$8e4b0600$4801a8c0@ws-ew-3.W2KDEMIG>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

>No, it's a correct method to set/reset the zero flag:
>    (X | X) =3D=3D X just as (X & X) =3D=3D X
>

Yes but it stores result in ecx(using or, really, is not a problem)... ho=
wever
jecxz just is 2 bytes sized while or + jmp is 4 bytes. It means lesser FD=
E
latency time and the pseudocode is enough similar.

greeting,
rookie





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?429C8E8F00018903>