From f8a5c266971d7b5b96f973805551c6e88669cada Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 14 Oct 2010 13:31:13 +0000 Subject: Add .d32 encoding suffix. gas/ 2010-10-14 H.J. Lu * 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 * 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. --- gas/doc/c-i386.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gas/doc') 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 -- cgit v1.1