x86cpu.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /********************************************************************
  2. * *
  3. * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
  4. * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
  5. * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
  6. * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
  7. * *
  8. * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 *
  9. * by the Xiph.Org Foundation and contributors http://www.xiph.org/ *
  10. * *
  11. ********************************************************************
  12. function:
  13. last mod: $Id: x86cpu.h 17410 2010-09-21 21:53:48Z tterribe $
  14. ********************************************************************/
  15. #if !defined(_x86_x86cpu_H)
  16. # define _x86_x86cpu_H (1)
  17. #include "../internal.h"
  18. #define OC_CPU_X86_MMX (1<<0)
  19. #define OC_CPU_X86_3DNOW (1<<1)
  20. #define OC_CPU_X86_3DNOWEXT (1<<2)
  21. #define OC_CPU_X86_MMXEXT (1<<3)
  22. #define OC_CPU_X86_SSE (1<<4)
  23. #define OC_CPU_X86_SSE2 (1<<5)
  24. #define OC_CPU_X86_PNI (1<<6)
  25. #define OC_CPU_X86_SSSE3 (1<<7)
  26. #define OC_CPU_X86_SSE4_1 (1<<8)
  27. #define OC_CPU_X86_SSE4_2 (1<<9)
  28. #define OC_CPU_X86_SSE4A (1<<10)
  29. #define OC_CPU_X86_SSE5 (1<<11)
  30. ogg_uint32_t oc_cpu_flags_get(void);
  31. #endif