1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-22 17:47:38 +08:00
hl2sdk/mathlib/sse.h

28 lines
854 B
C
Raw Permalink Normal View History

2013-06-27 06:22:04 +08:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=====================================================================================//
#ifndef _SSE_H
#define _SSE_H
float _SSE_Sqrt(float x);
float _SSE_RSqrtAccurate(float a);
float _SSE_RSqrtFast(float x);
float FASTCALL _SSE_VectorNormalize(Vector& vec);
void FASTCALL _SSE_VectorNormalizeFast(Vector& vec);
float _SSE_InvRSquared(const float* v);
void _SSE_SinCos(float x, float* s, float* c);
float _SSE_cos( float x);
2014-10-31 00:30:57 +08:00
#ifdef PLATFORM_WINDOWS_PC32
2013-06-27 06:22:04 +08:00
void _SSE2_SinCos(float x, float* s, float* c);
float _SSE2_cos(float x);
2014-10-31 00:30:57 +08:00
#endif
#if 0
2013-06-27 06:22:04 +08:00
void VectorTransformSSE(const float *in1, const matrix3x4_t& in2, float *out1);
void VectorRotateSSE( const float *in1, const matrix3x4_t& in2, float *out1 );
2014-10-31 00:30:57 +08:00
#endif
2013-06-27 06:22:04 +08:00
#endif // _SSE_H