Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

a lot of SIMD code ?

Intel_C_Intel
Employee
565 Views
Hi,
The rule 4 or 9 "Don't forget tu use SIMD Instructions" is interesting, but i have once small question.

I work on video and i'm the code optimizer of my company.
I have write a lot of SIMD routines in order to optimize our watermarking system, but i have a fear which could be express by :

If i have 3 or 4 thread on a single-Processor (maybe HT) which execute same jobs. These Jobs have been really well optimized with SIMD (15ms/frame without SIMD to 5ms with optimizations). There is only once SSE2 Unit and MMX unit so how processor manage this amount of SIMD code ?

There is no SIMD tools like Instruction Level Parallelism ? There is no risk to decrease performances when we use lot's of SIMD CODE ?
0 Kudos
1 Reply
bronx
Beginner
565 Views
MMX/SSE/SSE2 code and hyperthreading are working very well together, with HT enabled and 2 running threads you can maximize the throughput by around 20% also with well optimized SIMD code

here are some concrete examples of speedups with HT and heavy SIMD usage (MMX and SSE)

see "Kribi" scores there :

http://www.aceshardware.com/read.jsp?id=50000328
0 Kudos
Reply