i386: Add tests for -malign-branch-boundary and -malign-branch
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 12 Dec 2019 19:58:50 +0000 (11:58 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 12 Dec 2019 20:03:45 +0000 (12:03 -0800)
commit8493b6651af3d2130d5f5f050905cd3d6e8a9c27
tree8cde2b4c28190828a65d46ffa34a7cc5debd7c8e
parent76cf450b4ce818b298451619e80e041e6eb4ec24
i386: Add tests for -malign-branch-boundary and -malign-branch

Add tests for -malign-branch-boundary, -malign-branch and
-mbranches-within-32B-boundaries.

gas/

* testsuite/gas/i386/align-branch-1.s: New file.
* testsuite/gas/i386/align-branch-1a.d: Likewise.
* testsuite/gas/i386/align-branch-1b.d: Likewise.
* testsuite/gas/i386/align-branch-1c.d: Likewise.
* testsuite/gas/i386/align-branch-1d.d: Likewise.
* testsuite/gas/i386/align-branch-1e.d: Likewise.
* testsuite/gas/i386/align-branch-1f.d: Likewise.
* testsuite/gas/i386/align-branch-1g.d: Likewise.
* testsuite/gas/i386/align-branch-1h.d: Likewise.
* testsuite/gas/i386/align-branch-2.s: Likewise.
* testsuite/gas/i386/align-branch-2a.d: Likewise.
* testsuite/gas/i386/align-branch-2b.d: Likewise.
* testsuite/gas/i386/align-branch-2c.d: Likewise.
* testsuite/gas/i386/align-branch-3.d: Likewise.
* testsuite/gas/i386/align-branch-3.s: Likewise.
* testsuite/gas/i386/align-branch-4.s: Likewise.
* testsuite/gas/i386/align-branch-4a.d: Likewise.
* testsuite/gas/i386/align-branch-4b.d: Likewise.
* testsuite/gas/i386/align-branch-5.d: Likewise.
* testsuite/gas/i386/align-branch-5.s: Likewise.
* testsuite/gas/i386/align-branch-6.d: Likewise.
* testsuite/gas/i386/align-branch-6.s: Likewise.
* testsuite/gas/i386/align-branch-7.d: Likewise.
* testsuite/gas/i386/align-branch-7.s: Likewise.
* testsuite/gas/i386/align-branch-8.d: Likewise.
* testsuite/gas/i386/align-branch-8.s: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1.s: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-2.s: Likewise.
* testsuite/gas/i386/x86-64-align-branch-2a.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-2b.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-2c.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-3.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-3.s: Likewise.
* testsuite/gas/i386/x86-64-align-branch-4.s: Likewise.
* testsuite/gas/i386/x86-64-align-branch-4a.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-4b.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-6.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-7.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-7.s: Likewise.
* testsuite/gas/i386/x86-64-align-branch-8.d: Likewise.
* testsuite/gas/i386/x86-64-align-branch-8.s: Likewise.
* testsuite/gas/i386/i386.exp: Run new tests.

ld/

* testsuite/ld-i386/align-branch-1.d: New file.
* testsuite/ld-i386/align-branch-1.s: Likewise.
* testsuite/ld-x86-64/align-branch-1.d: Likewise.
* testsuite/ld-x86-64/align-branch-1.3: Likewise.
* testsuite/ld-i386/i386.exp: Run the new test.
* testsuite/ld-x86-64/x86-64.exp: Likewise.
62 files changed:
gas/ChangeLog
gas/testsuite/gas/i386/align-branch-1.s [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-1a.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-1b.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-1c.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-1d.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-1e.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-1f.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-1g.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-1h.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-1i.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-2.s [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-2a.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-2b.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-2c.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-3.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-3.s [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-4.s [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-4a.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-4b.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-5.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-5.s [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-6.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-6.e [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-6.s [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-7.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-7.s [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-8.d [new file with mode: 0644]
gas/testsuite/gas/i386/align-branch-8.s [new file with mode: 0644]
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/x86-64-align-branch-1.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-1a.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-1b.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-1c.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-1d.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-1e.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-1f.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-1g.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-1h.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-1i.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-2.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-2a.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-2b.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-2c.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-3.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-3.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-4.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-4a.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-4b.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-5.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-6.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-7.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-7.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-8.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-align-branch-8.s [new file with mode: 0644]
ld/ChangeLog
ld/testsuite/ld-i386/align-branch-1.d [new file with mode: 0644]
ld/testsuite/ld-i386/align-branch-1.s [new file with mode: 0644]
ld/testsuite/ld-i386/i386.exp
ld/testsuite/ld-x86-64/align-branch-1.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/align-branch-1.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/x86-64.exp