Re: [AD] Color convertors |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> Since we already figure out what the CPU is, why not have different
> versions of code for different CPUs? We already do this to a limited
> extent (cpu_mmx et al.), so this would simply be an extension.
But we already have different versions !
The blit() routines for example are (partially) written in pure 386 asm for
Pentium, MMX asm for MMX-enabled CPUs and SSE asm for SSE-enabled CPUs. I
don't think we could do much better.
---
Eric Botcazou
ebotcazou@xxxxxxxxxx