Bill Allombert on Mon, 20 Jan 2025 22:58:43 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: compilation of static binaries for Linux & Windows
|
- To: pari-dev@pari.math.u-bordeaux.fr
- Subject: Re: compilation of static binaries for Linux & Windows
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Mon, 20 Jan 2025 22:58:37 +0100
- Delivery-date: Mon, 20 Jan 2025 22:58:43 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=math.u-bordeaux.fr; s=2022; t=1737410321; bh=BL3dOmUuhEb5ilXJldPaGhEinMimzwftduf69yaM00s=; h=Date:From:To:Subject:References:In-Reply-To:From; b=LTve6zktgKbN18ryvLneer+8cje5OfcSM1vohXcO3f5JOfg+fTb/h3jW51tktaSSA tkx9fwuO8T935kQsx7AwJjbft3pLc6XCii5T8BbavNPehBSXSS8MbBiKVqWYtSGSbT u6ixTJQMrM1QlU3sxOOSWGk0NY+TivuH1pL87FU+BU2O1JHEHfRMMeojIPxE51rtj3 noGsx79IhkyLtdoTgmggVkCsExioZCfjZfMGPQjlXTKJJbk3E+Ut7IIvdRTCi9X+oi DlG0oAHLdGyR1eW6hTVtThtwojAzbRhJ0u4SKF3O2Iaihk47kY9UEJz4yD9z7VzFtH omWdY+cHceTqqyyddDHmSEyGMKURG8Uwq8XwD00zdPi7NfYFU5dJ7cDdoirdz5+GuQ 07EN25OeUCoIkjHy5NzWOexo9jGQTvUX1aPJSRWF0bCi0g+sNPzJcsWrZcmhH537dF NaBl8+NJ8LR828MKw3z46pAUCc7oQJhGPvChlmu0KWWFSHU6z1uf43P47A17khBmmj 8q+aHm3EZSMqtQGi7VrcZ8PCcMqtZzRmoW5oO0dSTPxfKr5MP4yCfiIRPnkcbAUXhD JrQ2bvZ3uCOgETl+g6eT9U0X0gCzmyAwam8tWtFL4VfA7go1h9JgdnWImeU8OV/IFS OMjawyCW/fwE111ewbF8yH34=
- In-reply-to: <268bb523-2a34-a005-a17d-d4f2b9c9537b@gmx.de>
- Mail-followup-to: pari-dev@pari.math.u-bordeaux.fr
- References: <d5476668-c7fd-6f5b-9642-470cdbae83b6@gmx.de> <Z46k_pbo8fn5iCVY@seventeen> <268bb523-2a34-a005-a17d-d4f2b9c9537b@gmx.de>
On Mon, Jan 20, 2025 at 10:23:54PM +0100, Beckert wrote:
> Thank you!
> I have now a full static gp for Linux.
>
> Is there some processor optimizations in the source for special cpu instructions like e.g. AVX512? So it would make
> sense for me to compile on such a host and distribute it to such hosts.
Yes, we have support for SSE2, AVX and AVX2 in some functions.
But even for generic code, PARI is faster when build with -march=native.
However you do not to compile on a particular host, you can force
-march=sse2, -march=avx, -march=avx2 in CFLAGS.
Cheers,
Bill.