mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-10-10 00:25:06 -04:00
Macros for SSSE3/SSE4 instruction sets
Add instruction set flags for the SSSE3, SSE4.1 and SSE4.2 instruction subsets.
This commit is contained in:
3
insns.h
3
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_SSE3 0x00040000UL /* it's a SSE3 (PNI) instruction */
|
||||||
#define IF_VMX 0x00080000UL /* it's a VMX instruction */
|
#define IF_VMX 0x00080000UL /* it's a VMX instruction */
|
||||||
#define IF_LONG 0x00100000UL /* long mode 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_PMASK 0xFF000000UL /* the mask for processor types */
|
||||||
#define IF_PLEVEL 0x0F000000UL /* the mask for processor instr. level */
|
#define IF_PLEVEL 0x0F000000UL /* the mask for processor instr. level */
|
||||||
/* also the highest possible processor */
|
/* also the highest possible processor */
|
||||||
|
|||||||
Reference in New Issue
Block a user