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.
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to