diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-10-14 13:31:13 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-10-14 13:31:13 +0000 |
commit | f8a5c266971d7b5b96f973805551c6e88669cada (patch) | |
tree | e8ffd91e8e6a02b3cb06ef44dfee189d2bef72dd /gas/doc | |
parent | 5d3236eea075e471b90b4d89bc459645abe9f50c (diff) | |
download | gdb-f8a5c266971d7b5b96f973805551c6e88669cada.zip gdb-f8a5c266971d7b5b96f973805551c6e88669cada.tar.gz gdb-f8a5c266971d7b5b96f973805551c6e88669cada.tar.bz2 |
Add .d32 encoding suffix.
gas/
2010-10-14 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (_i386_insn): Add disp32_encoding.
(md_assemble): Don't call optimize_disp if disp32_encoding is
set.
(parse_insn): Support .d32 to force 32bit displacement.
(output_branch): Use BIG if disp32_encoding is set.
* doc/c-i386.texi: Document .d32 encoding suffix.
gas/testsuite/
2010-10-14 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/disp32.d: New.
* gas/i386/disp32.s: Likewise.
* gas/i386/x86-64-disp32.d: Likewise.
* gas/i386/x86-64-disp32.s: Likewise.
* gas/i386/i386.exp: Run disp32 and x86-64-disp32.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/c-i386.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi index 9f4d742..d0a47de 100644 --- a/gas/doc/c-i386.texi +++ b/gas/doc/c-i386.texi @@ -394,7 +394,8 @@ quadruple word). Different encoding options can be specified via optional mnemonic suffix. @samp{.s} suffix swaps 2 register operands in encoding when -moving from one register to another. +moving from one register to another. @samp{.d32} suffix forces 32bit +displacement in encoding. @cindex conversion instructions, i386 @cindex i386 conversion instructions |