summaryrefslogtreecommitdiff
path: root/mathlib/sse.h
diff options
context:
space:
mode:
Diffstat (limited to 'mathlib/sse.h')
-rw-r--r--mathlib/sse.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/mathlib/sse.h b/mathlib/sse.h
new file mode 100644
index 0000000..1b49c50
--- /dev/null
+++ b/mathlib/sse.h
@@ -0,0 +1,27 @@
+//========= 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);
+#ifdef PLATFORM_WINDOWS_PC32
+void _SSE2_SinCos(float x, float* s, float* c);
+float _SSE2_cos(float x);
+#endif
+#if 0
+void VectorTransformSSE(const float *in1, const matrix3x4_t& in2, float *out1);
+void VectorRotateSSE( const float *in1, const matrix3x4_t& in2, float *out1 );
+#endif
+
+#endif // _SSE_H