summaryrefslogtreecommitdiff
path: root/insns.pl
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-05-04 17:53:31 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-05-04 17:53:31 -0700
commitd85d250fa229d5ceb73ce5fedfd1087727f53a79 (patch)
tree5a51259e0deae99fb8f042c37b467c604cdd27b6 /insns.pl
parent7117e80702d70ac635e50a05deb85f672bd3a464 (diff)
downloadnasm-d85d250fa229d5ceb73ce5fedfd1087727f53a79.tar.gz
nasm-d85d250fa229d5ceb73ce5fedfd1087727f53a79.tar.bz2
nasm-d85d250fa229d5ceb73ce5fedfd1087727f53a79.zip
First cut at AVX machinery.
First cut at AVX machinery support. The only instruction implemented is VPERMIL2PS, and it's probably buggy. I'm checking this in with the hope that other people can start helping out with (a) testing this, and (b) adding instructions. NDISASM support is not there yet.
Diffstat (limited to 'insns.pl')
-rw-r--r--insns.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/insns.pl b/insns.pl
index 8192e90..3218ef4 100644
--- a/insns.pl
+++ b/insns.pl
@@ -241,8 +241,7 @@ sub format {
$operands =~ s/imm(\d+)/imm|bits$1/g;
$operands =~ s/imm/immediate/g;
$operands =~ s/rm(\d+)/rm_gpr|bits$1/g;
- $operands =~ s/mmxrm/rm_mmx/g;
- $operands =~ s/xmmrm/rm_xmm/g;
+ $operands =~ s/(mmx|xmm|ymm)rm/rm_$1/g;
$operands =~ s/\=([0-9]+)/same_as|$1/g;
if ($operands eq 'void') {
@ops = ();