diff options
author | Ilya Tocar <ilya.tocar@intel.com> | 2014-08-01 17:58:32 +0400 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2014-08-06 08:32:01 -0700 |
commit | d022bddd4fd93428a7fa3cc7ad404c912ed20dbf (patch) | |
tree | 03fca1a622763ceb73b02e5c514be06f46f20681 /gas/ChangeLog | |
parent | ad9fe6c108abf73f47219655ff19a5ec68b68124 (diff) | |
download | gdb-d022bddd4fd93428a7fa3cc7ad404c912ed20dbf.zip gdb-d022bddd4fd93428a7fa3cc7ad404c912ed20dbf.tar.gz gdb-d022bddd4fd93428a7fa3cc7ad404c912ed20dbf.tar.bz2 |
Add -momit_lock_prefix=[no|yes] option
This option serves as a workaround for processors, which fail on lock
prefix.
gas/
* config/tc-i386.c (omit_lock_prefix): New.
(output_insn): Omit lock prefix if omit_lock_prefix is true.
(OPTION_omit_lock_prefix): New.
(md_longopts): Add momit-lock-prefix.
(md_parse_option): Handle momit-lock-prefix.
(md_show_usage): Add momit-lock-prefix=[no|yes].
* doc/c-i386.texi (momit-lock-prefix): Document.
gas/testsuite/
* gas/i386/i386.exp: Run new tests.
* gas/i386/omit-lock-no.d: New.
* gas/i386/omit-lock-yes.d: Ditto.
* gas/i386/omit-lock.s: Ditto.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index b7926f4..2a584fd 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,13 @@ +2014-08-06 Ilya Tocar <ilya.tocar@intel.com> + + * config/tc-i386.c (omit_lock_prefix): New. + (output_insn): Omit lock prefix if omit_lock_prefix is true. + (OPTION_omit_lock_prefix): New. + (md_longopts): Add momit-lock-prefix. + (md_parse_option): Handle momit-lock-prefix. + (md_show_usage): Add momit-lock-prefix=[no|yes]. + * doc/c-i386.texi (momit-lock-prefix): Document. + 2014-08-01 Takashi Yoshii <yoshii.takashi@renesas.com> PR 10378 |