Page 1 of 1

SSE4, Can I use it?

Posted: Wed Jan 02, 2013 9:53 am
by oryaaaaa
Hello, Thank you for always helping me.

I am creating 128bit sound engine. now, reached 104bit (double).
I want to try quad (63bit, and will reach 126bit), then I want to use "SSE4.1 PMULDQ"
PB supported?

I must use realtime sound processing in PB5.
If I use brute force, you What should I do?


thank you

Re: SSE4, Can I use it?

Posted: Mon Jan 14, 2013 5:12 pm
by Thorium
Yes, you can use it.
PB does not know the SSE instruction set. But thats not a problem. Put a exclamation mark in front of your ASM lines and they will be passed to the assembler without processing by PB.

If you get a assembler error, download the newest FASM version and put it in the compilers folder of PB.

Here is a example that uses SSE 4.2 instruction CRC32 in PB: http://www.purebasic.fr/english/viewtop ... 12&t=39649