OgreSIMDHelper.h File Reference

#include "OgrePrerequisites.h"
#include "OgrePlatformInformation.h"
#include <xmmintrin.h>

Go to the source code of this file.

Namespaces

namespace  Ogre

Defines

#define __OGRE_SIMD_ALIGN_STACK()


Define Documentation

 
#define __OGRE_SIMD_ALIGN_STACK (  ) 

Value:

{                                                               \
        /* Use alloca to allocate some memory on the stack.  */     \
        /* This alerts gcc that something funny is going on, */     \
        /* so that it does not omit the frame pointer etc.   */     \
        (void)__builtin_alloca(16);                                 \
        /* Now align the stack pointer */                           \
        __asm__ __volatile__ ("andq $-16, %rsp");                   \
    }

Definition at line 80 of file OgreSIMDHelper.h.


Copyright © 2008 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 27 22:02:27 2009