Index: src/OFMatrix4x4.m ================================================================== --- src/OFMatrix4x4.m +++ src/OFMatrix4x4.m @@ -28,10 +28,14 @@ { 0, 0, 0, 1 } }; @implementation OFMatrix4x4 #if defined(OF_AMD64) || defined(OF_X86) +# ifndef __clang__ +# pragma GCC push_options +# pragma GCC target("3dnow") +# endif static void multiplyWithMatrix_3DNow(OFMatrix4x4 *self, SEL _cmd, OFMatrix4x4 *matrix) { float result[4][4]; @@ -115,10 +119,13 @@ : "mm0", "mm1", "mm2", "mm3", "mm4", "memory" ); return result; } +# ifndef __clang__ +# pragma GCC pop_options +# endif + (void)initialize { if (self != [OFMatrix4x4 class]) return;