i386: Add -mbranches-within-32B-boundaries
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 12 Dec 2019 19:57:03 +0000 (11:57 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 12 Dec 2019 20:03:45 +0000 (12:03 -0800)
commit76cf450b4ce818b298451619e80e041e6eb4ec24
treea98323a4931de9b690d0607773ee3df61c19df44
parente379e5f385f874adb0b414f917adb1fc50e20de9
i386: Add -mbranches-within-32B-boundaries

Add -mbranches-within-32B-boundaries to enable

-malign-branch-boundary=32
-malign-branch=jcc+fused+jmp
-malign-branch-prefix-size=5

* config/tc-i386.c (OPTION_MBRANCHES_WITH_32B_BOUNDARIES): New.
(md_longopts): Add -mbranches-within-32B-boundaries.
(md_parse_option): Handle -mbranches-within-32B-boundaries.
(md_show_usage): Add -mbranches-within-32B-boundaries.
gas/ChangeLog
gas/config/tc-i386.c
gas/doc/c-i386.texi