initial check in
This commit is contained in:
60
SSE_cmplr_abstraction_GCC.h
Normal file
60
SSE_cmplr_abstraction_GCC.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* SYNOPSYS CONFIDENTIAL - This is an unpublished, proprietary work of Synopsys,
|
||||
* Inc., and is fully protected under copyright and trade secret laws. You may
|
||||
* not view, use, disclose, copy, or distribute this file or any information
|
||||
* contained herein except pursuant to a valid written license from Synopsys.
|
||||
*/
|
||||
|
||||
//
|
||||
// The purpose of this file is to define SSE2 data types to abstacr from the compiler
|
||||
// specific constructs. Currently the target compilers are GCC and the MS VC 2005.
|
||||
//
|
||||
|
||||
#ifndef _SSE2_CMPL_ABSTRACTION_GCC_H_
|
||||
#define _SSE2_CMPL_ABSTRACTION_GCC_H_
|
||||
|
||||
#include <boost/static_assert.hpp>
|
||||
|
||||
//
|
||||
// Namespace sse2
|
||||
//
|
||||
namespace sse2
|
||||
{
|
||||
|
||||
//
|
||||
// Primitive types
|
||||
//
|
||||
|
||||
/// 2xdouble
|
||||
//
|
||||
typedef int xmm128d __attribute__ ((mode(V2DF)));
|
||||
|
||||
/// 4xfloat
|
||||
//
|
||||
typedef int xmm128s __attribute__ ((mode(V4SF)));
|
||||
|
||||
/// 2xint64
|
||||
//
|
||||
typedef int xmm128l __attribute__ ((mode(V4SF)));
|
||||
|
||||
/// 4xint32
|
||||
//
|
||||
typedef int xmm128i __attribute__ ((mode(V4SF)));
|
||||
|
||||
/// int64
|
||||
//
|
||||
typedef long int;
|
||||
|
||||
//
|
||||
// Namespace sse2
|
||||
//
|
||||
}
|
||||
|
||||
#include "SSE_cmplr_abstraction_GCC_pckdbl.h"
|
||||
#include "SSE_cmplr_abstraction_GCC_pckfloat.h"
|
||||
#include "SSE_cmplr_abstraction_GCC_pckint8.h"
|
||||
#include "SSE_cmplr_abstraction_GCC_pckint16.h"
|
||||
#include "SSE_cmplr_abstraction_GCC_pckint32.h"
|
||||
#include "SSE_cmplr_abstraction_GCC_pckint64.h"
|
||||
|
||||
#endif/*_SSE2_CMPL_ABSTRACTION_GCC_H_*/
|
||||
Reference in New Issue
Block a user