Re: [OG9, committed] Backport GCN expcnt patches

2019-09-06 Thread Andrew Stubbs
On 06/09/2019 08:42, Bernhard Reutner-Fischer wrote: On 5 September 2019 18:07:25 CEST, Andrew Stubbs wrote: I just committed the attached patch to the openacc-gcc-9-branch. + /* Store that requires input registers are not overwritten by +following instruction. */ +

Re: [OG9, committed] Backport GCN expcnt patches

2019-09-06 Thread Bernhard Reutner-Fischer
On 5 September 2019 18:07:25 CEST, Andrew Stubbs wrote: >I just committed the attached patch to the openacc-gcc-9-branch. + /* Store that requires input registers are not overwritten by +following instruction. */ + if ((prev_insn->age + nops_rqd) < 1 + &&

[OG9, committed] Backport GCN expcnt patches

2019-09-05 Thread Andrew Stubbs
I just committed the attached patch to the openacc-gcc-9-branch. The patch removes the redundant s_waitcnt instruction from store instructions. The s_waitcnt with expcnt was a misunderstanding of the documentation. Andrew Backport expcnt patches. 2019-09-05 Andrew Stubbs Backport from m