Imported Upstream version 1.1.1
[platform/upstream/libtheora.git] / lib / cpu.h
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: cpu.h 16503 2009-08-22 18:14:02Z giles $
14
15  ********************************************************************/
16
17 #if !defined(_x86_cpu_H)
18 # define _x86_cpu_H (1)
19 #include "internal.h"
20
21 #define OC_CPU_X86_MMX      (1<<0)
22 #define OC_CPU_X86_3DNOW    (1<<1)
23 #define OC_CPU_X86_3DNOWEXT (1<<2)
24 #define OC_CPU_X86_MMXEXT   (1<<3)
25 #define OC_CPU_X86_SSE      (1<<4)
26 #define OC_CPU_X86_SSE2     (1<<5)
27 #define OC_CPU_X86_PNI      (1<<6)
28 #define OC_CPU_X86_SSSE3    (1<<7)
29 #define OC_CPU_X86_SSE4_1   (1<<8)
30 #define OC_CPU_X86_SSE4_2   (1<<9)
31 #define OC_CPU_X86_SSE4A    (1<<10)
32 #define OC_CPU_X86_SSE5     (1<<11)
33
34 #endif