Re: Options for x86_64 "versions" for system types

2024-03-08 Thread Albin Ahlbäck

On 3/8/24 07:31, Niels Möller wrote:

Albin Ahlbäck  writes:


I cannot see that GMP today allows specifying `--host=x86_64-v3-...'
or something similar. I suppose that packagers specifying such a host
triplet could yield speedups for (most?) users downloading precompiled
binaries on such distributions.


I would not expect any significant speedups for users of gmp fat builds
(which is what most or all distros are providing).


That's true, didn't think of that, probably not worth it then.


Have there been thoughts of allowing such triplets?


Is it really "x86_64-v3" with a dash in it? That might complicate the
splitting of a "triplet" into cpu-vendor-os.

I'd expect GMP to support any kind of cpu names supported and encouraged
by autoconf, plus the more specific cpu model names recognized by gmp.


At least I cannot get it to work, or find anything related in 
`config.sub' or `configure.ac'.


Best,
Albin
___
gmp-devel mailing list
gmp-devel@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-devel


Re: Options for x86_64 "versions" for system types

2024-03-07 Thread Niels Möller
Albin Ahlbäck  writes:

> I cannot see that GMP today allows specifying `--host=x86_64-v3-...'
> or something similar. I suppose that packagers specifying such a host
> triplet could yield speedups for (most?) users downloading precompiled
> binaries on such distributions.

I would not expect any significant speedups for users of gmp fat builds
(which is what most or all distros are providing).

> Have there been thoughts of allowing such triplets?

Is it really "x86_64-v3" with a dash in it? That might complicate the
splitting of a "triplet" into cpu-vendor-os.

I'd expect GMP to support any kind of cpu names supported and encouraged
by autoconf, plus the more specific cpu model names recognized by gmp.

Regards,
/Niels

-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.
___
gmp-devel mailing list
gmp-devel@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-devel


Options for x86_64 "versions" for system types

2024-03-07 Thread Albin Ahlbäck

Hi,

I'm sure that many of you have heard about many Linux distributions are 
playing with the idea of setting the baseline for what CPU architecture 
is supported regarding x86_64 CPUs, mainly "x86_64-v3".


I cannot see that GMP today allows specifying `--host=x86_64-v3-...' or 
something similar. I suppose that packagers specifying such a host 
triplet could yield speedups for (most?) users downloading precompiled 
binaries on such distributions.


Have there been thoughts of allowing such triplets?

Best,
Albin
___
gmp-devel mailing list
gmp-devel@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-devel