diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2013-11-10 11:45:24 +0400 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2013-11-24 13:21:04 +0400 |
commit | ea882d0b595be687d34db59cd32a174970e56456 (patch) | |
tree | ed36cb9b155082f59b85034abfad0c51d477dc6a /insns.pl | |
parent | 970df6f47f3437996e98f581e53cde1f66518a0c (diff) | |
download | nasm-ea882d0b595be687d34db59cd32a174970e56456.tar.gz nasm-ea882d0b595be687d34db59cd32a174970e56456.tar.bz2 nasm-ea882d0b595be687d34db59cd32a174970e56456.zip |
insns: Restore back MMX,FPU flags
In commit 9bb987d8e0330429afba42015b1fc7c7ca0d1b16
we had to drop some flags due to flags type used
in nasm code.
Since now flags internal structure is reworked, we
can restore them back.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'insns.pl')
-rwxr-xr-x | insns.pl | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -433,10 +433,6 @@ sub format_insn($$$$$) { my $num, $nd = 0, $rawflags, $flagsindex; my @bytecode; my $op, @ops, $opp, @opx, @oppx, @decos, @opevex; - my @iflags = ( "FPU", "MMX", "3DNOW", "SSE", "SSE2", - "SSE3", "VMX", "SSSE3", "SSE4A", "SSE41", - "SSE42", "SSE5", "AVX", "AVX2", "AVX512", - "FMA", "BMI1", "BMI2", "TBM", "RTM", "INVPCID"); return (undef, undef) if $operands eq "ignore"; @@ -486,17 +482,6 @@ sub format_insn($$$$$) { } $decorators =~ tr/a-z/A-Z/; - # check if two different insn set types are set - $cnt = 0; - foreach $fla (split(/,/, $flags)) { - if (grep(/$fla/, @iflags)) { - $cnt++; - if ($cnt >= 2) { - die "Too many insn set flags in $flags\n"; - } - } - } - # format the flags $nd = 1 if $flags =~ /(^|\,)ND($|\,)/; $flags =~ s/(^|\,)ND($|\,)/\1/g; |