PFUNC 1.0
Defines
pfunc/environ.hpp File Reference
#include <pfunc/config.h>

Go to the source code of this file.

Defines

#define ALIGN16   __attribute__((aligned(16)))
#define ALIGN32   __attribute__((aligned(32)))
#define ALIGN64   __attribute__((aligned(64)))
#define ALIGN128   __attribute__((aligned(128)))
#define PFUNC_INLINE   inline

Detailed Description

Author:
Prabhanjan Kambadur This file contains all the environ specific defines that we need. In PFunc, we are concerned about the OS-type, Architecture and Compiler. In this file, we check that the environment we are running on is something we have seen and tested before. For now, we will only honor the following:

OS: Linux, Darwin, AIX and Windows. Compiler: GNU, Intel, XLC and VS. Architecture: X86-based, PPC.


Define Documentation

#define ALIGN128   __attribute__((aligned(128)))
#define ALIGN16   __attribute__((aligned(16)))

Define alignment policy for different OS types

#define ALIGN32   __attribute__((aligned(32)))
#define ALIGN64   __attribute__((aligned(64)))
#define PFUNC_INLINE   inline

Get a definition of inline for the C compilers.