[fpc-devel] SSE in FPC

Florian Klaempfl florian at freepascal.org
Sun Nov 30 17:56:48 CET 2008


Dariusz Mazur schrieb:
> Jonas Maebe pisze:
>>>
>>>
>>> Of course tSSEVector should be declared in System unit.
>>> Then  any one can use SSE intentionally
>>
>> Why can't you now? It's not like multiplication has any other meaning
>> for arrays. And declaring "magic compiler types" in the system unit is
>> something that should be avoided as much as possible (it makes both
>> the compiler and rtl harder to adapt and understand).
> Of course, but SIMD is thing, which has  more and more impact to
> performance. And compiler should respect it (and do this, as Florian
> said). But till now nobody know, where compiler use SSE instruction. 

Of course one knows. For array operations as shown SSE/SSE2 is used if
enabled.



More information about the fpc-devel mailing list