insns.pl: handle the new VEX.DDS flag per AVX spec version 5
authorH. Peter Anvin <hpa@linux.intel.com>
Wed, 18 Feb 2009 22:04:02 +0000 (14:04 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 18 Feb 2009 22:04:02 +0000 (14:04 -0800)
The AVX spec version 5 introduces the new VEX.DDS flag; support it.

insns.pl

index ac03ae3..7094279 100755 (executable)
--- a/insns.pl
+++ b/insns.pl
@@ -676,7 +676,7 @@ sub byte_code_compile($) {
                    $m = 3;
                } elsif ($oq =~ /^m([0-9]+)$/) {
                    $m = $1+0;
-               } elsif ($oq eq 'nds' || $oq eq 'ndd') {
+               } elsif ($oq eq 'nds' || $oq eq 'ndd' || $oq eq 'dds') {
                    if (!defined($oppos{'v'})) {
                        die "$fname: $line: vex.$oq without 'v' operand\n";
                    }