old-cross-binutils/gas/doc
Andrew Senkevich e4e00185b5 Add option -mfence-as-lock-add=[no|yes].
With -mfence-as-lock-add=yes lfence, mfence and sfence will be encoded
as lock addl $0x0, (%{r,e}sp).

gas/:

    * config/tc-i386.c (avoid_fence): New.
    (output_insn): Encode as lock addl $0x0, (%{r,e}sp) if avoid_fence
    is true.
    (OPTION_FENCE_AS_LOCK_ADD): New.
    (md_longopts): Add -mfence-as-lock-add.
    (md_parse_option): Handle -mfence-as-lock-add.
    (md_show_usage): Add -mfence-as-lock-add=[no|yes].
    * doc/c-i386.texi (-mfence-as-lock-add): Document.

gas/testsuite/:

    * gas/i386/i386.exp: Run new tests.
    * gas/i386/fence-as-lock-add.s: New.
    * gas/i386/fence-as-lock-add-yes.d: Likewise.
    * gas/i386/fence-as-lock-add-no.d: Likewise.
    * gas/i386/x86-64-fence-as-lock-add-yes.d: Likewise.
    * gas/i386/x86-64-fence-as-lock-add-no.d: Likewise.
2016-01-29 15:46:50 +03:00
..
all.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
as.texinfo Upda the documentation on assembler error message generation. 2016-01-20 16:21:34 +00:00
c-aarch64.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-alpha.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-arc.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-arm.texi Add support for an ARM specific 'y' section attribute flag to mark the section as NOREAD. 2016-01-20 12:53:50 +00:00
c-avr.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-bfin.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-cr16.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-cris.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-d10v.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-d30v.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-epiphany.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-h8300.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-hppa.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-i370.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-i386.texi Add option -mfence-as-lock-add=[no|yes]. 2016-01-29 15:46:50 +03:00
c-i860.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-i960.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-ia64.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-ip2k.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-lm32.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-m32c.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-m32r.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-m68hc11.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-m68k.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-metag.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-microblaze.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-mips.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-mmix.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-msp430.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-mt.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-nds32.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-nios2.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-ns32k.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-pdp11.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-pj.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-ppc.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-rl78.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-rx.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-s390.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-score.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-sh.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-sh64.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-sparc.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-tic6x.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-tic54x.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-tilegx.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-tilepro.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-v850.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-vax.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-visium.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-xc16x.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-xgate.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-xstormy16.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-xtensa.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-z8k.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
c-z80.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
fdl.texi Change documentation license to FDL v1.3 2008-11-19 16:22:48 +00:00
h8.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
internals.texi Copyright update for binutils 2016-01-01 23:00:01 +10:30
Makefile.am Copyright update for binutils 2016-01-01 23:00:01 +10:30
Makefile.in Copyright update for binutils 2016-01-01 23:00:01 +10:30