| 1 |
|
| 2 |
#ifndef _ORC_SSE_H_ |
| 3 |
#define _ORC_SSE_H_ |
| 4 |
|
| 5 |
#include <orc/orc.h> |
| 6 |
#include <orc/orcx86.h> |
| 7 |
#include <orc/orcx86insn.h> |
| 8 |
#include <orc/orcsseinsn.h> |
| 9 |
|
| 10 |
ORC_BEGIN_DECLS |
| 11 |
|
| 12 |
#ifdef ORC_ENABLE_UNSTABLE_API |
| 13 |
|
| 14 |
typedef enum { |
| 15 |
X86_XMM0 = ORC_VEC_REG_BASE + 16, |
| 16 |
X86_XMM1, |
| 17 |
X86_XMM2, |
| 18 |
X86_XMM3, |
| 19 |
X86_XMM4, |
| 20 |
X86_XMM5, |
| 21 |
X86_XMM6, |
| 22 |
X86_XMM7, |
| 23 |
X86_XMM8, |
| 24 |
X86_XMM9, |
| 25 |
X86_XMM10, |
| 26 |
X86_XMM11, |
| 27 |
X86_XMM12, |
| 28 |
X86_XMM13, |
| 29 |
X86_XMM14, |
| 30 |
X86_XMM15 |
| 31 |
} OrcSSERegister; |
| 32 |
|
| 33 |
ORC_API const char * orc_x86_get_regname_sse(int i); |
| 34 |
#endif |
| 35 |
|
| 36 |
ORC_API unsigned int orc_sse_get_cpu_flags (void); |
| 37 |
|
| 38 |
ORC_END_DECLS |
| 39 |
|
| 40 |
#endif |
| 41 |
|