aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-01-20 20:53:50 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-01-20 20:53:50 +0000
commita501d77eeba717f6d54dce44f286f9e3aad83144 (patch)
treef43d8ee355afd45a51c5198c90b73035471a3adf /gas/doc
parente825046fcf0193aad44b1f3d1a8514190278b85d (diff)
downloadgdb-a501d77eeba717f6d54dce44f286f9e3aad83144.zip
gdb-a501d77eeba717f6d54dce44f286f9e3aad83144.tar.gz
gdb-a501d77eeba717f6d54dce44f286f9e3aad83144.tar.bz2
Add .d8 suffix support to x86 assembler
gas/ 2012-01-20 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (_i386_insn): Replace disp32_encoding with disp_encoding. (md_assemble): Updated. (output_branch): Likewise. (parse_insn): Support .d8 suffix. (build_modrm_byte): Fake zero displacement for .d8 and .d32 suffixes. * doc/c-i386.texi: Document .d8 suffix. gas/testsuite/ 2012-01-20 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/disp32.s: Add tests for .d8 suffix. * gas/i386/x86-64-disp32.s: Likewise. * gas/i386/disp32.d: Updated. * gas/i386/x86-64-disp32.d: Likewise.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/c-i386.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi
index 57f9146..07f3462 100644
--- a/gas/doc/c-i386.texi
+++ b/gas/doc/c-i386.texi
@@ -440,8 +440,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. @samp{.d32} suffix forces 32bit
-displacement in encoding.
+moving from one register to another. @samp{.d8} or @samp{.d32} suffix
+prefers 8bit or 32bit displacement in encoding.
@cindex conversion instructions, i386
@cindex i386 conversion instructions