Posts Tagged ‘SSE’

SSE And Inline Assembly Example

In previous posts we’ve covered Inline Assembly and SSE Intrinsics coding.

In this post we’ll merge these concepts by creating a version of the CMYK to RGB conversion code strictly in raw SSE and assembly. The upshot is you’ll see how we can take existing, real-world C++ code and use GCC’s Extended Assembly syntax to interweave raw assembly code for potential performance gains.

This means this tutorial is not just about extended assembly or sse coding, it’s about using both in a real-world application. We’ll learn many concepts including data retrieval, loop processing, SSE processor instructions, floating point number representation, and much more!

Read More

SSE Intrinsics Tutorial

UPDATE: For those interested, I’ve created a full-on assembly/SSE version here.

SSE SIMD Programming is a fascinating subject, but also one that can be a bit difficult to approach. In this post I’m going to create a SIMD version on my RGB->CMYK algorithm, and in the process, show a bunch of handy tricks for working with SIMD.

This post deals with some of the problems and challenges we face when implementing SIMD code, paying close attention to intrinsics, basic SIMD code setup, and buffer type conversion.

Read More

Building Qt Projects With MMX, SSE, and SSE2

Quick post here about a problem I came across when trying to use intrinsics in a Qt project on 32-bit Ubuntu 10.10.

Read More