mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08: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:
parent
0da6b580eb
commit
2e7dd975eb
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_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 */
|
||||
|
Loading…
Reference in New Issue
Block a user