Re: [PATCH v2] fix PowerPC < 7 w/ Altivec not to default to power7

2024-06-12 Thread René Rebe
Hey, > On Jun 12, 2024, at 00:27, René Rebe wrote: > > Hi! > >> On Jun 12, 2024, at 00:15, Segher Boessenkool >> wrote: >> >> Hi! >> >> What does "powerpc < 7" mean? Something before POWER ISA 2.06? > > PowerPC ISA level 7 or whatever you like to call it. > >> On Tue, Jun 11, 2024 at

Re: [PATCH v2] fix PowerPC < 7 w/ Altivec not to default to power7

2024-06-11 Thread René Rebe
Hi! > On Jun 12, 2024, at 00:15, Segher Boessenkool > wrote: > > Hi! > > What does "powerpc < 7" mean? Something before POWER ISA 2.06? PowerPC ISA level 7 or whatever you like to call it. > On Tue, Jun 11, 2024 at 04:22:54PM +0200, Rene Rebe wrote: >> Glibc uses .machine to determine

Re: [PATCH v2] fix PowerPC < 7 w/ Altivec not to default to power7

2024-06-11 Thread Segher Boessenkool
Hi! What does "powerpc < 7" mean? Something before POWER ISA 2.06? On Tue, Jun 11, 2024 at 04:22:54PM +0200, Rene Rebe wrote: > Glibc uses .machine to determine assembler optimizations to use. What does this mean? .machine is an *output* for glibc; nothing in glibc reads source code. Nothing

[PATCH v2] fix PowerPC < 7 w/ Altivec not to default to power7

2024-06-11 Thread Rene Rebe
Hi Kewen, v2 with test case - I hope I worked all your nits in: Glibc uses .machine to determine assembler optimizations to use. However, since reworking the rs6000 .machine output selection in commit e154242724b084380e3221df7c08fcdbd8460674 22 May 2019, G5 as well as Cell, and even power4 w/