RE: [AD] Patch for performance issues in i386 blitters

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Title: RE: [AD] Patch for performance issues in i386 blitters

> -   movw BMP_SEG(%edx), %es       /* select segment */
> +   movl BMP_SEG(%edx), %es       /* select segment */
>
> doesn't actually save any byte, because GAS is smart enough
> to automatically
> convert the former into the latter.

I'm actually surprised it assembled at all, as es is 16 bits.
I'd have called that a bug in the source. Provided it does
what I think it does: mov es, word|dword ptr [edx]

--
Vincent Penquerc'h



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/