From 2e7dd975eb9d48897c430d6bcdf8d2b8a57b606c Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 12 Sep 2007 20:37:32 -0700 Subject: [PATCH] Macros for SSSE3/SSE4 instruction sets Add instruction set flags for the SSSE3, SSE4.1 and SSE4.2 instruction subsets. --- insns.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/insns.h b/insns.h index ac8ccbb..91461d0 100644 --- a/insns.h +++ b/insns.h @@ -86,6 +86,9 @@ extern const struct itemplate * const * const itable[]; #define IF_SSE3 0x00040000UL /* it's a SSE3 (PNI) instruction */ #define IF_VMX 0x00080000UL /* it's a VMX instruction */ #define IF_LONG 0x00100000UL /* long mode instruction */ +#define IF_SSSE3 0x00200000UL /* it's an SSSE3 instruction */ +#define IF_SSE41 0x00400000UL /* it's an SSE4.1 instruction */ +#define IF_SSE42 0x00800000UL /* it's an SSE4.2 instruction */ #define IF_PMASK 0xFF000000UL /* the mask for processor types */ #define IF_PLEVEL 0x0F000000UL /* the mask for processor instr. level */ /* also the highest possible processor */ -- 2.7.4