[L2Ork-dev] PD_BIGORSMALL

Matt Barber brbrofsvl at gmail.com
Thu May 31 12:02:07 EDT 2018


Wish I could tell you for sure. Sometimes there are weird things, like this
may let it keep both numbers in CPU registers to make the comparison
faster, if the compiler can make an instruction to do the bit shift in
place it might be cheaper than the instruction to load a new number for
comparison. But again I don't know for sure.

On Thu, May 31, 2018, 10:48 AM Jonathan Wilkes <jon.w.wilkes at gmail.com>
wrote:

> One more question:
>
> Why
>
> ((pun.ui >> 1) & 0x20000000))
>
> and not
>
> (pun.ui & 0x40000000)
>
> ?
>
> -Jonathan
> _______________________________________________
> L2Ork-dev mailing list
> L2Ork-dev at disis.music.vt.edu
> https://disis.music.vt.edu/listinfo/l2ork-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://disis.music.vt.edu/pipermail/l2ork-dev/attachments/20180531/c5cc55f4/attachment.html>


More information about the L2Ork-dev mailing list