Team Fortress 2 Source Code as on 22/4/2020
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.

27 lines
827 B

  1. //========= Copyright 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. #ifdef PLATFORM_WINDOWS_PC32
  17. void _SSE2_SinCos(float x, float* s, float* c);
  18. float _SSE2_cos(float x);
  19. #endif
  20. #if 0
  21. void VectorTransformSSE(const float *in1, const matrix3x4_t& in2, float *out1);
  22. void VectorRotateSSE( const float *in1, const matrix3x4_t& in2, float *out1 );
  23. #endif
  24. #endif // _SSE_H