Namespaces | Defines

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 79 of file OgreSIMDHelper.h.


Copyright © 2008 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Sun May 8 2011 20:28:09