On Fri, 28 Nov 2008 21:25:16 +0100
darekm <[EMAIL PROTECTED]> wrote:

> Hi
> 
>   Are in FPC some  instruction set contains streaming SIMD (SSE) like
> in GCC:
> 
> http://gcc.gnu.org/onlinedocs/gcc-4.3.2/gcc/X86-Built_002din-Functions.html
> 
>  or in Microsoft Visual
> 
> http://msdn.microsoft.com/en-us/library/kcwz153a(VS.80).aspx

Use the mmx unit to discover what mmx/sse instruction set is supported
by your cpu. You can use mmx/sse commands directly in the asm
blocks and FPC automatically uses MMX/SSE instructions for your pascal
code if you allow it (specify CPU type). In my experiments FPC often
created faster code itself. So don't expect much speed gain when using
SSE instructions directly.


Mattias
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to