SSE4, Can I use it?

Bare metal programming in PureBasic, for experienced users
User avatar
oryaaaaa
Enthusiast
Enthusiast
Posts: 791
Joined: Mon Jan 12, 2004 11:40 pm
Location: Okazaki, JAPAN

SSE4, Can I use it?

Post 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
Thorium
Addict
Addict
Posts: 1271
Joined: Sat Aug 15, 2009 6:59 pm

Re: SSE4, Can I use it?

Post 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
Post Reply