From d0f773230e207cfe1b25f0f3520057e69c7f1e36 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Fri, 10 Feb 2012 02:11:22 +0400 Subject: [PATCH] insns: Add AVX2 transactional synchronization extensions Signed-off-by: Cyrill Gorcunov --- insns.dat | 8 ++++++++ insns.h | 2 ++ 2 files changed, 10 insertions(+) diff --git a/insns.dat b/insns.dat index 069dc71a..c304df95 100644 --- a/insns.dat +++ b/insns.dat @@ -3315,6 +3315,14 @@ VPGATHERQQ xmmreg,mem64,xmmreg [rmv: vm64x vex.dds.128.66.0f38.w1 91 /r] FUTURE VPGATHERDQ ymmreg,mem64,ymmreg [rmv: vm32x vex.dds.256.66.0f38.w1 90 /r] FUTURE,AVX2 VPGATHERQQ ymmreg,mem64,ymmreg [rmv: vm64y vex.dds.256.66.0f38.w1 91 /r] FUTURE,AVX2 +; +; transactional synchronization extensions +XABORT imm8 [i: c6 f8 ib] FUTURE,HLE +XBEGIN imm16 [i: c7 f8 iw] FUTURE,HLE +XBEGIN imm32 [i: c7 f8 id] FUTURE,HLE +XEND void [ 0f 01 d5] FUTURE,HLE +XTEST void [ 0f 01 d6] FUTURE,HLE,RTM + ;# Intel BMI1 and BMI2 instructions ; ; based on pub number 319433-011 dated July 2011 diff --git a/insns.h b/insns.h index e278737c..8cbf39bf 100644 --- a/insns.h +++ b/insns.h @@ -115,6 +115,8 @@ extern const uint8_t nasm_bytecodes[]; #define IF_FMA 0x00800000UL /* HACK NEED TO REORGANIZE THESE BITS */ #define IF_BMI1 0x00800000UL /* HACK NEED TO REORGANIZE THESE BITS */ #define IF_BMI2 0x00800000UL /* HACK NEED TO REORGANIZE THESE BITS */ +#define IF_HLE 0x00800000UL /* HACK NEED TO REORGANIZE THESE BITS */ +#define IF_RTM 0x00800000UL /* HACK NEED TO REORGANIZE THESE BITS */ #define IF_INVPCID 0x00800000UL /* HACK NEED TO REORGANIZE THESE BITS */ #define IF_PMASK 0xFF000000UL /* the mask for processor types */ #define IF_PLEVEL 0x0F000000UL /* the mask for processor instr. level */ -- 2.11.4.GIT