Re: [RFC PATCH 6/8] powerpc/mm/book3s64/hash: drop pre 2.06 tlbiel for clang

2021-03-18 Thread Nicholas Piggin
Excerpts from Daniel Axtens's message of February 25, 2021 1:10 pm: > The llvm integrated assembler does not recognise the ISA 2.05 tlbiel > version. Eventually do this more smartly. The whole thing with TLBIE and TLBIEL in this file seems a bit too clever. We should have PPC_TLBIE* macros for al

Re: [RFC PATCH 6/8] powerpc/mm/book3s64/hash: drop pre 2.06 tlbiel for clang

2021-03-22 Thread Christophe Leroy
Le 19/03/2021 à 03:01, Nicholas Piggin a écrit : Excerpts from Daniel Axtens's message of February 25, 2021 1:10 pm: The llvm integrated assembler does not recognise the ISA 2.05 tlbiel version. Eventually do this more smartly. The whole thing with TLBIE and TLBIEL in this file seems a bit

Re: [RFC PATCH 6/8] powerpc/mm/book3s64/hash: drop pre 2.06 tlbiel for clang

2021-03-22 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of March 23, 2021 2:49 am: > > > Le 19/03/2021 à 03:01, Nicholas Piggin a écrit : >> Excerpts from Daniel Axtens's message of February 25, 2021 1:10 pm: >>> The llvm integrated assembler does not recognise the ISA 2.05 tlbiel >>> version. Eventually do thi

Re: [RFC PATCH 6/8] powerpc/mm/book3s64/hash: drop pre 2.06 tlbiel for clang

2021-03-24 Thread Segher Boessenkool
Hi! On Tue, Mar 23, 2021 at 04:11:10AM +1000, Nicholas Piggin wrote: > The problem in this file is we generate 3 different tlbie and tlbiel > instructions with the same mnemonic corresponding to different ISA > versions. > > This might actually be the one good place to use .machine to make sure

Re: [RFC PATCH 6/8] powerpc/mm/book3s64/hash: drop pre 2.06 tlbiel for clang

2021-03-24 Thread Segher Boessenkool
On Wed, Mar 24, 2021 at 10:51:05AM -0500, Segher Boessenkool wrote: > The variants with fewer operands have those coded as 0 in the > instruction. All of this is backwards compatible. I was reminded that this is broken in ISA 2.03. Ouch. Segher