aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2006-12-06 18:15:45 +0000
committerH.J. Lu <hjl.tools@gmail.com>2006-12-06 18:15:45 +0000
commit9021ec07d7faf9e4067c5c497a21562b78c45a65 (patch)
tree59db855f463289ba7b49efedf7fb82286c85dfff /gas/config
parentfa3fd85b0634c30ae1adeeb80e92c03fc1d4f08a (diff)
downloadgdb-9021ec07d7faf9e4067c5c497a21562b78c45a65.zip
gdb-9021ec07d7faf9e4067c5c497a21562b78c45a65.tar.gz
gdb-9021ec07d7faf9e4067c5c497a21562b78c45a65.tar.bz2
gas/
2006-12-06 H.J. Lu <hjl@gnu.org> * config/tc-i386.h: Change the prefix order to SEG_PREFIX, ADDR_PREFIX, DATA_PREFIX, LOCKREP_PREFIX. gas/testsuite/ 2006-12-06 H.J. Lu <hjl@gnu.org> * gas/i386/amdfam10.d: Updated for operand/address-size override prefix position change. * gas/i386/naked.d: Likewise. * gas/i386/rep-suffix.d: Likewise. * gas/i386/rep.d: Likewise. * gas/i386/white.l: Likewise. * gas/i386/x86-64-amdfam10.d: Likewise. * gas/i386/x86-64-rep-suffix.d: Likewise. * gas/i386/x86-64-rep.d: Likewise. * gas/i386/x86_64.d: Likewise.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index 0d42e1b..7cfe29b 100644
--- a/gas/config/tc-i386.h
+++ b/gas/config/tc-i386.h
@@ -102,12 +102,14 @@ extern const char *i386_comment_chars;
/* Prefixes will be emitted in the order defined below.
WAIT_PREFIX must be the first prefix since FWAIT is really is an
- instruction, and so must come before any prefixes. */
+ instruction, and so must come before any prefixes.
+ The preferred prefix order is SEG_PREFIX, ADDR_PREFIX, DATA_PREFIX,
+ LOCKREP_PREFIX. */
#define WAIT_PREFIX 0
-#define LOCKREP_PREFIX 1
+#define SEG_PREFIX 1
#define ADDR_PREFIX 2
#define DATA_PREFIX 3
-#define SEG_PREFIX 4
+#define LOCKREP_PREFIX 4
#define REX_PREFIX 5 /* must come last. */
#define MAX_PREFIXES 6 /* max prefixes per opcode */