]> git.ipfire.org Git - thirdparty/gcc.git/commit
Backport expcnt patches.
authorAndrew Stubbs <ams@codesourcery.com>
Thu, 5 Sep 2019 14:43:19 +0000 (15:43 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 3 Mar 2020 11:50:41 +0000 (12:50 +0100)
commitbb75e6f6cd8d890ce518c756dd47d2ec3a08e794
treeceb60b653f89c22444876dacaebbd2310d7e109c
parent05ec021fd503c3dabf5c87f43113103e806def43
Backport expcnt patches.

2019-09-05  Andrew Stubbs  <ams@codesourcery.com>

Backport from mainline:

2019-07-31  Andrew Stubbs  <ams@codesourcery.com>

gcc/
* config/gcn/gcn-valu.md
(scatter<mode>_insn_1offset<exec_scatter>): Remove s_waitcnt.
(scatter<mode>_insn_1offset_ds<exec_scatter>): Likewise.
(scatter<mode>_insn_2offsets<exec_scatter>): Likewise.
* config/gcn/gcn.c (gcn_md_reorg): Add delayeduse and reads to
struct ilist. Add nops for delayeduse insns.
* config/gcn/gcn.md (delayeduse): New attribute.
(*movbi): Remove s_waitcnt from stores.
(*mov<mode>_insn): Likewise.
(*movti_insn): Likewise. Add delayeduse attribute.
(sync_compare_and_swap<mode>_insn): Add delayeduse attribute.
(atomic_store<mode>): Remove or adjust s_waitcnt.

2019-09-05  Andrew Stubbs  <ams@codesourcery.com>

gcc/
* config/gcn/gcn.md (*movti_insn): Set delayeduse for global_store.
(sync_compare_and_swap<mode>_insn): Likewise.

(cherry picked from openacc-gcc-9-branch commit
cb61e528165ad4e88fef1fc787f1a16b591b2fca)
gcc/ChangeLog.omp
gcc/config/gcn/gcn-valu.md
gcc/config/gcn/gcn.c
gcc/config/gcn/gcn.md