aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-09-24 16:37:09 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-09-24 16:37:09 +0000
commit2bf05e57303ade685e40991a7779de56ced5d46f (patch)
tree4d303fc4c4233d11bc529bac70a7e64eec55e0d9 /gas
parent935bd1e079100b6d6fa0fa7cfd7c20a7f588cfea (diff)
downloadgdb-2bf05e57303ade685e40991a7779de56ced5d46f.zip
gdb-2bf05e57303ade685e40991a7779de56ced5d46f.tar.gz
gdb-2bf05e57303ade685e40991a7779de56ced5d46f.tar.bz2
gas/
2009-09-24 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead of vex256. opcodes/ 2009-09-24 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (opcode_modifiers): Remove Vex256. (set_bitfield): Handle XXX=V. * i386-opc.h (Vex): Update comments. (Vex256): Removed. (VexNDS): Updated. (i386_opcode_modifier): Change vex to 2 bits. Remove vex256. * i386-opc.tbl: Replace "Vex|Vex256" with Vex=2. * i386-tbl.h: Regenerated.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 53f8a43..55cab08 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
+ * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead
+ of vex256.
+
+2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
+
PR gas/10677
* config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true
for BFD_RELOC_X86_64_GOTPCREL.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 3b9b361..4beeccc 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -2678,7 +2678,7 @@ build_vex_prefix (const insn_template *t)
i.tm = t[1];
}
- vector_length = i.tm.opcode_modifier.vex256 ? 1 : 0;
+ vector_length = i.tm.opcode_modifier.vex == 2 ? 1 : 0;
switch ((i.tm.base_opcode >> 8) & 0xff)
{