Re: [Patch] GCN – call assembler with -mattr=-code-object-v3 (PR93409)

2020-01-29 Thread Andrew Stubbs
On 29/01/2020 15:40, Tobias Burnus wrote: Hi Andrew, On 1/29/20 2:01 PM, Andrew Stubbs wrote: On 29/01/2020 12:53, Tobias Burnus wrote: With LLVM 9, the old variant is only accepted when also passing "-mattr=-code-object-v3" to the compiler; that's a"-" after the "=" to disable V3. […] it t

Re: [Patch] GCN – call assembler with -mattr=-code-object-v3 (PR93409)

2020-01-29 Thread Tobias Burnus
Hi Andrew, On 1/29/20 2:01 PM, Andrew Stubbs wrote: On 29/01/2020 12:53, Tobias Burnus wrote: With LLVM 9, the old variant is only accepted when also passing "-mattr=-code-object-v3" to the compiler; that's a"-" after the "=" to disable V3. […] it turned out that at last the assembler of LLV

Re: [Patch] GCN – call assembler with -mattr=-code-object-v3 (PR93409)

2020-01-29 Thread Andrew Stubbs
On 29/01/2020 12:53, Tobias Burnus wrote: Cf. PR93409 comments 4 and later. The comments 1–3 of the PR are covered by patch https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01663.html (skip building libgomp's HSA/GCN plugin with -mx32). For AMDGCN, the LLVM assembler is used. While for LLVM 7+8,

[Patch] GCN – call assembler with -mattr=-code-object-v3 (PR93409)

2020-01-29 Thread Tobias Burnus
Cf. PR93409 comments 4 and later. The comments 1–3 of the PR are covered by patch https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01663.html (skip building libgomp's HSA/GCN plugin with -mx32). For AMDGCN, the LLVM assembler is used. While for LLVM 7+8, GCC generates code which is the same as LL