Mail Archives: djgpp/1997/02/27/21:23:20
On Thu, 27 Feb 1997 00:03:44 +0000 ( ) "Gurunandan R. Bhat"
<grbhat AT unigoa DOT ernet DOT in> writes:
>greetings,
> will a kind assembly guru pick this nit please: assuming that
>x+y
>and x|y give me the same result, which one is faster?
>
> thanks in advance
>
>gurunandan bhat
>
+ is one cycle (on 486+)
| is one cycle (on 486+)
Shouldn't make a difference.
(Note: that one cycle thing is when both are registers. If one is
memory, things go _slow_ (as in, up to 3 times slower)).
...Chambers
- Raw text -