AVX-512: Fix comments
authorJin Kyu Song <jin.kyu.song@intel.com>
Thu, 29 Aug 2013 02:15:24 +0000 (19:15 -0700)
committerCyrill Gorcunov <gorcunov@gmail.com>
Thu, 29 Aug 2013 06:03:09 +0000 (10:03 +0400)
Fixed or purged some old comments and added a comment for a previous patch.

Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
nasm.h
regs.dat
test/gas2nasm.py

diff --git a/nasm.h b/nasm.h
index 8d61748..5ae9d54 100644 (file)
--- a/nasm.h
+++ b/nasm.h
@@ -689,12 +689,13 @@ typedef struct insn { /* an instruction itself */
     uint8_t         evex_p[3];              /* EVEX.P0: [RXB,R',00,mm], P1: [W,vvvv,1,pp] */
                                             /* EVEX.P2: [z,L'L,b,V',aaa] */
     enum ttypes     evex_tuple;             /* Tuple type for compressed Disp8*N */
-    int             evex_rm;                /* static rounding mode for AVX3 (EVEX) */
+    int             evex_rm;                /* static rounding mode for AVX512 (EVEX) */
     int8_t          evex_brerop;            /* BR/ER/SAE operand position */
 } insn;
 
 enum geninfo { GI_SWITCH };
 
+/* Instruction flags type: IF_* flags are defined in insns.h */
 typedef uint64_t iflags_t;
 
 /*
index 1e083d0..fb112e6 100644 (file)
--- a/regs.dat
+++ b/regs.dat
@@ -123,7 +123,7 @@ xmm1-31     XMMREG          xmmreg          1
 ymm0   YMM0            ymmreg          0
 ymm1-31        YMMREG          ymmreg          1
 
-# AVX3 registers
+# AVX512 registers
 zmm0   ZMM0            zmmreg          0
 zmm1-31        ZMMREG          zmmreg          1
 
index a00af92..d0b8579 100755 (executable)
@@ -89,7 +89,6 @@ def write_rawbytes(data, options):
 if __name__ == "__main__":
     options = setup()
     recs = read(options)
-    print "AVX3.1 instructions"
 
     write_rawbytes(recs, options)