Archive for October, 2010

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

GCC Inline Assembly Loop Structures

While I’ve covered basic assembly before, I wanted to quick touch on the idea of implementing simple control flow techniques. GCC of course allows for this in the extended syntax mode, but finding good documentation with examples is hard. The point of this post then is to show a few simple examples of writing control flow code, as well as point out a few of the more subtle points.

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

Converting CMYK to RGB In Qt Using Little CMS :: Part 2

In the first post of this series we saw how we can use a library called Little CMS to create accurate CMYK to RGB conversions in Qt. In this post we’ll take a look at the actual act of conversion as well as address performance concerns.

Read More