[fpc-devel] SSE in FPC
Florian Klaempfl
florian at freepascal.org
Sat Nov 29 16:10:13 CET 2008
Jonas Maebe schrieb:
>
> On 29 Nov 2008, at 11:11, Felipe Monteiro de Carvalho wrote:
>
>> You can tell FPC to do the SSE code for you:
>>
>> -Cf<x> Select fpu instruction set to use, see fpc -i for
>> possible values
>
> That only applies to (scalar) FPU operations at this time. It won't do
> any (auto or other) vectorisation.
With -Sv -Cfsse2 you can compile things like
function f : double;
var
d1,d2,d3 : array[0..1] of double;
begin
d1:=d2*d3;
end;
However, it's not well tested.
More information about the fpc-devel
mailing list