AVX-512: Add test case for opmask instructions

Added K* instructions test cases in test/avx512f.asm.
The previous test case from GNU AS were repeating the same instruction twice,
so the repeated half part is removed.
Changed the python script (gas2nasm.py) to include opmask instructions.

Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Jin Kyu Song 2013-08-28 19:15:29 -07:00 committed by Cyrill Gorcunov
parent daafcbae77
commit 088827bc6c
2 changed files with 24 additions and 4578 deletions

File diff suppressed because it is too large Load diff

View file

@ -39,7 +39,7 @@ def read(options):
l = strr[0].strip()
r = strr[2].strip()
# Filter out Pseudo-op / vex instructions until those are added in insns.dat
if not (re.match('vcmp.+[ps][ds]', r) or re.match('vpcmp[^u]+u?[dq]', r) or r[0] == 'k'):
if not (re.match('vcmp.+[ps][ds]', r) or re.match('vpcmp[^u]+u?[dq]', r)):
d.append(l)
d.append(r)
recs.append(d)