I thought about that one a bit.  The immediate logicals are a bit weird.
 The idea I have is that they should generally leave the upper bits of the
other argument unaffected.  So really, it should be that for ORI and XORI,
the high 16 bits are clear, and for ANDI, they're all set.


On Sun, Apr 21, 2013 at 3:06 AM, <[email protected]> wrote:

> I spotted something else :
>
> "ORI
> Bitwise OR with unsigned signed immediate
> For OR, it actually makes sense to replicate the high bits "
>
> "unsigned signed" ?
>
> furthermore, it makes more sense to have a consistent rule about
> immediate's signedness.
>  * easier when coding
>  * simpler when implementing
> I prefer to have everything signed.
> If i need more than 15 bits for a mask,
> i preload it in another register...
>
> yg
>
>


-- 
Timothy Normand Miller, PhD
Assistant Professor of Computer Science, Binghamton University
http://www.cs.binghamton.edu/~millerti/
Open Graphics Project
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to