diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2010-08-16 13:48:43 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-08-16 13:48:43 -0700 |
commit | 978c2170fc22224bec916c692c627c88b53b829f (patch) | |
tree | f425d0775e01f23c2390b54d1b12713c7ab8495b | |
parent | 84a9e308c33542e97cae4bd117b1737562f651d2 (diff) | |
download | nasm-978c2170fc22224bec916c692c627c88b53b829f.tar.gz nasm-978c2170fc22224bec916c692c627c88b53b829f.tar.bz2 nasm-978c2170fc22224bec916c692c627c88b53b829f.zip |
vex: change .wx to .wig to match the latest AVX spec
Change the .wx (ignore the W field) to .wig, to match the latest
version of the AVX specification. This is not a functional change,
but just makes instruction patterns a little easier to write.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r-- | assemble.c | 8 | ||||
-rwxr-xr-x | insns.pl | 2 |
2 files changed, 5 insertions, 5 deletions
@@ -93,10 +93,10 @@ * VEX/XOP prefixes are followed by the sequence: * \tmm\wlp where mm is the M field; and wlp is: * 00 0ww lpp - * [w0] ww = 0 for W = 0 - * [w1] ww = 1 for W = 1 - * [wx] ww = 2 for W don't care (always assembled as 0) - * [ww] ww = 3 for W used as REX.W + * [w0] ww = 0 for W = 0 + * [w1 ] ww = 1 for W = 1 + * [wig] ww = 2 for W don't care (always assembled as 0) + * [ww] ww = 3 for W used as REX.W * * t = 0 for VEX (C4/C5), t = 1 for XOP (8F). * @@ -769,7 +769,7 @@ sub byte_code_compile($$) { $w = 0; } elsif ($oq eq 'w1') { $w = 1; - } elsif ($oq eq 'wx') { + } elsif ($oq eq 'wig') { $w = 2; } elsif ($oq eq 'ww') { $w = 3; |