Matt Turner <matts...@gmail.com> writes:

> On Tue, Feb 28, 2012 at 1:20 PM, Lukic, Nemanja <nlu...@mips.com> wrote:
>> Good point.
>> Only problem there is that address on which we are storing might not be 
>> 4-byte aligned (since we are doing memset on array of uint16_t).
>> But *dest can be aligned (with simple check) before the main loop, and then 
>> instead of 16 x sh, we can use 8 x sw.
>> I will do that, and resubmit the patch.
>
> Ah, right. Co-alignment of src and dest makes this more complicated
> for blt. For fill, it's pretty simple though.

For blt, maybe the "prepend" or "append" instructions could be used to
align the source to the destination? Though, it looks like these
instructions require an immediate operator, which means there would have
to be two separate code paths.


Soren
_______________________________________________
Pixman mailing list
Pixman@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pixman

Reply via email to