public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v1] NEWS: Add entry for x86-64 ISA level build
@ 2022-07-27  6:58 Noah Goldstein
  2022-07-27 11:18 ` Adhemerval Zanella Netto
  2022-07-27 12:10 ` [PATCH v2] " Noah Goldstein
  0 siblings, 2 replies; 8+ messages in thread
From: Noah Goldstein @ 2022-07-27  6:58 UTC (permalink / raw)
  To: libc-alpha

---
 NEWS | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/NEWS b/NEWS
index 5827b206d9..4264a4cfc6 100644
--- a/NEWS
+++ b/NEWS
@@ -72,6 +72,10 @@ Major new features:
 
   The LoongArch ABI is 64-bit little-endian.
 
+* Support building x86-64 with multiple ISA levels.  Higher ISA levels
+  will use better optimized functions in the dynamic loader and
+  non-multiarch build as well as reduce the size of libc.so.
+
 Deprecated and removed features, and other changes affecting compatibility:
 
 * Support for prelink will be removed in the next release; this includes
-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v1] NEWS: Add entry for x86-64 ISA level build
  2022-07-27  6:58 [PATCH v1] NEWS: Add entry for x86-64 ISA level build Noah Goldstein
@ 2022-07-27 11:18 ` Adhemerval Zanella Netto
  2022-07-27 12:10   ` Noah Goldstein
  2022-07-27 12:10 ` [PATCH v2] " Noah Goldstein
  1 sibling, 1 reply; 8+ messages in thread
From: Adhemerval Zanella Netto @ 2022-07-27 11:18 UTC (permalink / raw)
  To: libc-alpha



On 27/07/22 03:58, Noah Goldstein via Libc-alpha wrote:
> ---
>  NEWS | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/NEWS b/NEWS
> index 5827b206d9..4264a4cfc6 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -72,6 +72,10 @@ Major new features:
>  
>    The LoongArch ABI is 64-bit little-endian.
>  
> +* Support building x86-64 with multiple ISA levels.  Higher ISA levels
> +  will use better optimized functions in the dynamic loader and
> +  non-multiarch build as well as reduce the size of libc.so.

The initial sentence sounds terse, maybe "Support for building x86-64 with 
multiple ISA levels has been added".

> +
>  Deprecated and removed features, and other changes affecting compatibility:
>  
>  * Support for prelink will be removed in the next release; this includes


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH v2] NEWS: Add entry for x86-64 ISA level build
  2022-07-27  6:58 [PATCH v1] NEWS: Add entry for x86-64 ISA level build Noah Goldstein
  2022-07-27 11:18 ` Adhemerval Zanella Netto
@ 2022-07-27 12:10 ` Noah Goldstein
  2022-07-27 13:48   ` Adhemerval Zanella Netto
  2022-07-27 16:11   ` Joseph Myers
  1 sibling, 2 replies; 8+ messages in thread
From: Noah Goldstein @ 2022-07-27 12:10 UTC (permalink / raw)
  To: libc-alpha

---
 NEWS | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/NEWS b/NEWS
index 5827b206d9..968187b3e8 100644
--- a/NEWS
+++ b/NEWS
@@ -72,6 +72,10 @@ Major new features:
 
   The LoongArch ABI is 64-bit little-endian.
 
+* Support building x86-64 with multiple ISA levels has been added.
+  Higher ISA levels will use better optimized functions in the dynamic
+  loader and non-multiarch build as well as reduce the size of libc.so.
+
 Deprecated and removed features, and other changes affecting compatibility:
 
 * Support for prelink will be removed in the next release; this includes
-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v1] NEWS: Add entry for x86-64 ISA level build
  2022-07-27 11:18 ` Adhemerval Zanella Netto
@ 2022-07-27 12:10   ` Noah Goldstein
  0 siblings, 0 replies; 8+ messages in thread
From: Noah Goldstein @ 2022-07-27 12:10 UTC (permalink / raw)
  To: Adhemerval Zanella Netto; +Cc: GNU C Library

On Wed, Jul 27, 2022 at 7:18 PM Adhemerval Zanella Netto via
Libc-alpha <libc-alpha@sourceware.org> wrote:
>
>
>
> On 27/07/22 03:58, Noah Goldstein via Libc-alpha wrote:
> > ---
> >  NEWS | 4 ++++
> >  1 file changed, 4 insertions(+)
> >
> > diff --git a/NEWS b/NEWS
> > index 5827b206d9..4264a4cfc6 100644
> > --- a/NEWS
> > +++ b/NEWS
> > @@ -72,6 +72,10 @@ Major new features:
> >
> >    The LoongArch ABI is 64-bit little-endian.
> >
> > +* Support building x86-64 with multiple ISA levels.  Higher ISA levels
> > +  will use better optimized functions in the dynamic loader and
> > +  non-multiarch build as well as reduce the size of libc.so.
>
> The initial sentence sounds terse, maybe "Support for building x86-64 with
> multiple ISA levels has been added".
>

Sure. Done in V2.
> > +
> >  Deprecated and removed features, and other changes affecting compatibility:
> >
> >  * Support for prelink will be removed in the next release; this includes'
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2] NEWS: Add entry for x86-64 ISA level build
  2022-07-27 12:10 ` [PATCH v2] " Noah Goldstein
@ 2022-07-27 13:48   ` Adhemerval Zanella Netto
  2022-07-27 16:11   ` Joseph Myers
  1 sibling, 0 replies; 8+ messages in thread
From: Adhemerval Zanella Netto @ 2022-07-27 13:48 UTC (permalink / raw)
  To: libc-alpha



On 27/07/22 09:10, Noah Goldstein via Libc-alpha wrote:
> ---
>  NEWS | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/NEWS b/NEWS
> index 5827b206d9..968187b3e8 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -72,6 +72,10 @@ Major new features:
>  
>    The LoongArch ABI is 64-bit little-endian.
>  
> +* Support building x86-64 with multiple ISA levels has been added.
> +  Higher ISA levels will use better optimized functions in the dynamic
> +  loader and non-multiarch build as well as reduce the size of libc.so.
> +
>  Deprecated and removed features, and other changes affecting compatibility:
>  
>  * Support for prelink will be removed in the next release; this includes

LGTM, thanks.

It is ok for 2.36.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2] NEWS: Add entry for x86-64 ISA level build
  2022-07-27 12:10 ` [PATCH v2] " Noah Goldstein
  2022-07-27 13:48   ` Adhemerval Zanella Netto
@ 2022-07-27 16:11   ` Joseph Myers
  2022-07-27 16:22     ` Noah Goldstein
  1 sibling, 1 reply; 8+ messages in thread
From: Joseph Myers @ 2022-07-27 16:11 UTC (permalink / raw)
  To: Noah Goldstein; +Cc: libc-alpha

On Wed, 27 Jul 2022, Noah Goldstein via Libc-alpha wrote:

> +* Support building x86-64 with multiple ISA levels has been added.
> +  Higher ISA levels will use better optimized functions in the dynamic
> +  loader and non-multiarch build as well as reduce the size of libc.so.

I don't think "with multiple ISA levels" is very meaningful to users.  
How is "with multiple ISA levels" different from the multi-arch feature 
that's been present for many years - I think it could easily be read as a 
description of that longstanding existing feature?  You need a description 
that makes clear to users who aren't following glibc development what the 
actual new feature is (i.e. that if you build with a compiler that 
defaults to a newer ISA level such as -march=x86-64-v2, the resulting libc 
will use corresponding optimized implementations and omit the versions 
only relevant on older processors, if I'm understanding the feature 
correctly).

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2] NEWS: Add entry for x86-64 ISA level build
  2022-07-27 16:11   ` Joseph Myers
@ 2022-07-27 16:22     ` Noah Goldstein
  2022-07-27 16:44       ` Adhemerval Zanella Netto
  0 siblings, 1 reply; 8+ messages in thread
From: Noah Goldstein @ 2022-07-27 16:22 UTC (permalink / raw)
  To: Joseph Myers; +Cc: GNU C Library

On Thu, Jul 28, 2022 at 12:12 AM Joseph Myers <joseph@codesourcery.com> wrote:
>
> On Wed, 27 Jul 2022, Noah Goldstein via Libc-alpha wrote:
>
> > +* Support building x86-64 with multiple ISA levels has been added.
> > +  Higher ISA levels will use better optimized functions in the dynamic
> > +  loader and non-multiarch build as well as reduce the size of libc.so.
>
> I don't think "with multiple ISA levels" is very meaningful to users.
> How is "with multiple ISA levels" different from the multi-arch feature
> that's been present for many years - I think it could easily be read as a
> description of that longstanding existing feature?  You need a description
> that makes clear to users who aren't following glibc development what the
> actual new feature is (i.e. that if you build with a compiler that
> defaults to a newer ISA level such as -march=x86-64-v2, the resulting libc
> will use corresponding optimized implementations and omit the versions
> only relevant on older processors, if I'm understanding the feature
> correctly).

That's fair.

Not really sure this needs a NEWS entry at the end of the day. It's not really
directly visible. The only meaningful change is that there won't be any
legacy sse code so potentially (with great care) a user could entirely
omit `vzeroupper`.

Adhemerval do you think this needs an entry or is it too behind the scenes?

>
> --
> Joseph S. Myers
> joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2] NEWS: Add entry for x86-64 ISA level build
  2022-07-27 16:22     ` Noah Goldstein
@ 2022-07-27 16:44       ` Adhemerval Zanella Netto
  0 siblings, 0 replies; 8+ messages in thread
From: Adhemerval Zanella Netto @ 2022-07-27 16:44 UTC (permalink / raw)
  To: libc-alpha



On 27/07/22 13:22, Noah Goldstein via Libc-alpha wrote:
> On Thu, Jul 28, 2022 at 12:12 AM Joseph Myers <joseph@codesourcery.com> wrote:
>>
>> On Wed, 27 Jul 2022, Noah Goldstein via Libc-alpha wrote:
>>
>>> +* Support building x86-64 with multiple ISA levels has been added.
>>> +  Higher ISA levels will use better optimized functions in the dynamic
>>> +  loader and non-multiarch build as well as reduce the size of libc.so.
>>
>> I don't think "with multiple ISA levels" is very meaningful to users.
>> How is "with multiple ISA levels" different from the multi-arch feature
>> that's been present for many years - I think it could easily be read as a
>> description of that longstanding existing feature?  You need a description
>> that makes clear to users who aren't following glibc development what the
>> actual new feature is (i.e. that if you build with a compiler that
>> defaults to a newer ISA level such as -march=x86-64-v2, the resulting libc
>> will use corresponding optimized implementations and omit the versions
>> only relevant on older processors, if I'm understanding the feature
>> correctly).
> 
> That's fair.
> 
> Not really sure this needs a NEWS entry at the end of the day. It's not really
> directly visible. The only meaningful change is that there won't be any
> legacy sse code so potentially (with great care) a user could entirely
> omit `vzeroupper`.
> 
> Adhemerval do you think this needs an entry or is it too behind the scenes?

I had the impression that reorganization would allow an user visible
optimization (due the code ifunc selection change), but in the end
I agree that is should be transparent to users.  I don't have a strong
opinion here, maybe it is would be better to omit.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-07-27 16:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-27  6:58 [PATCH v1] NEWS: Add entry for x86-64 ISA level build Noah Goldstein
2022-07-27 11:18 ` Adhemerval Zanella Netto
2022-07-27 12:10   ` Noah Goldstein
2022-07-27 12:10 ` [PATCH v2] " Noah Goldstein
2022-07-27 13:48   ` Adhemerval Zanella Netto
2022-07-27 16:11   ` Joseph Myers
2022-07-27 16:22     ` Noah Goldstein
2022-07-27 16:44       ` Adhemerval Zanella Netto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).