Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
791 B

  1. //========= Copyright � 1996-2006, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=====================================================================================//
  6. #ifndef _SSE_H
  7. #define _SSE_H
  8. float _SSE_Sqrt(float x);
  9. float _SSE_RSqrtAccurate(float a);
  10. float _SSE_RSqrtFast(float x);
  11. float FASTCALL _SSE_VectorNormalize(Vector& vec);
  12. void FASTCALL _SSE_VectorNormalizeFast(Vector& vec);
  13. float _SSE_InvRSquared(const float* v);
  14. void _SSE_SinCos(float x, float* s, float* c);
  15. float _SSE_cos( float x);
  16. void _SSE2_SinCos(float x, float* s, float* c);
  17. float _SSE2_cos(float x);
  18. void VectorTransformSSE(const float *in1, const matrix3x4_t& in2, float *out1);
  19. void VectorRotateSSE( const float *in1, const matrix3x4_t& in2, float *out1 );
  20. #endif // _SSE_H