aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-01-24 15:44:05 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-01-24 15:44:05 +0000
commit80de6e001def245947591f5173c454fdfc738b26 (patch)
tree9fe7f5b88a42c7043744187f9a67ccc1711fb34f /gas
parent691f8dc1872731b6d5fe867cd0abc8e20cabec2a (diff)
downloadgdb-80de6e001def245947591f5173c454fdfc738b26.zip
gdb-80de6e001def245947591f5173c454fdfc738b26.tar.gz
gdb-80de6e001def245947591f5173c454fdfc738b26.tar.bz2
Set the first 3byte VEX prefix individually.
2010-01-24 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to 0xc4 individually.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f21a21e..d0c4723 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
+ 0xc4 individually.
+
2010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
* write.h (fix_at_start): Declare.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 2529c54..7f5ced7 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -2749,18 +2749,20 @@ build_vex_prefix (const insn_template *t)
unsigned int m, w;
i.vex.length = 3;
- i.vex.bytes[0] = 0xc4;
switch (i.tm.opcode_modifier.vexopcode)
{
case VEX0F:
m = 0x1;
+ i.vex.bytes[0] = 0xc4;
break;
case VEX0F38:
m = 0x2;
+ i.vex.bytes[0] = 0xc4;
break;
case VEX0F3A:
m = 0x3;
+ i.vex.bytes[0] = 0xc4;
break;
case XOP08:
m = 0x8;