Github messages for voidlinux
 help / color / mirror / Atom feed
From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR REVIEW] Math packages: gf2x, ntl, flintlib, arb, eclib
Date: Fri, 06 Aug 2021 22:02:46 +0200	[thread overview]
Message-ID: <20210806200246.L8sWf0s52mQxpkSnHB9G7aHhjvKXacEd8CBIpLblP7s@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30032@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1379 bytes --]

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/30032#discussion_r684476151

Comment:
I added this to `common/options.description` in #29997 (see 2274429). There is a discussion about this in that PR.

My intention is to have an easy way to recompile math software for native arch. Depending on the package sometimes is sse3, sometimes is more. In this case the library also uses sse4.1 and pclmul, but they are dependents so `--disable-sse3` is enough to disable all of that is not generic (x86_64 implies sse2 but nothing more).

Not disabling sse3 as above means that the library will be compiled with -msse3, -msse41, -mpclmul, ... and maybe also -march=native, etc, so that all the options available in the current cpu will be used.

In general, different software have different features, oftentimes they have custom written asm for different architectures so selecting build option "native" will not necessarily be equivalent to just using `-march=native`.

In many cases (like here) one has to be careful because native is the default and it is necessary to make sure the binary actually is generic enough for x86_64 (I'm not sure how to test this -- can a VM disable some sse levels even if the host has them? I have an old core 2 quad (q9550) working (even with 8GB RAM) but that already has sse3!


  parent reply	other threads:[~2021-08-06 20:02 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-06  3:35 [PR PATCH] More math libraries and tools tornaria
2021-04-06  3:53 ` abenson
2021-04-06  5:05 ` Math packages: gf2x, ntl, flintlib, arb, eclib tornaria
2021-04-06  5:05 ` tornaria
2021-04-07 12:53 ` dkwo
2021-04-09  2:10 ` [PR PATCH] [Updated] " tornaria
2021-05-13 17:57 ` tornaria
2021-05-13 18:25 ` tornaria
2021-08-06 19:18 ` [PR REVIEW] " ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:18 ` ericonr
2021-08-06 19:32 ` [PR PATCH] [Updated] " tornaria
2021-08-06 19:32 ` tornaria
2021-08-06 19:36 ` [PR REVIEW] " tornaria
2021-08-06 19:44 ` ericonr
2021-08-06 19:44 ` ericonr
2021-08-06 20:02 ` tornaria [this message]
2021-08-06 20:05 ` ericonr
2021-08-06 20:05 ` ericonr
2021-08-06 20:11 ` tornaria
2021-08-06 20:48 ` [PR REVIEW] " tornaria
2021-08-06 20:48 ` tornaria
2021-08-06 20:52 ` tornaria
2021-08-06 21:00 ` tornaria
2021-08-06 21:22 ` ericonr
2021-08-06 21:24 ` ericonr
2021-08-07  0:12 ` ericonr
2021-08-08 23:04 ` tornaria
2021-08-08 23:22 ` [PR PATCH] [Updated] " tornaria
2021-08-08 23:24 ` [PR REVIEW] " tornaria
2021-08-08 23:25 ` tornaria
2021-08-08 23:25 ` tornaria
2021-08-08 23:26 ` tornaria
2021-08-08 23:30 ` [PR PATCH] [Updated] " tornaria
2021-08-08 23:30 ` [PR REVIEW] " tornaria
2021-08-08 23:33 ` tornaria
2021-08-08 23:37 ` tornaria
2021-08-09  2:33 ` [PR PATCH] [Updated] " tornaria
2021-08-09  2:40 ` tornaria
2021-08-10 18:38 ` [PR REVIEW] " ericonr
2021-08-10 18:38 ` ericonr
2021-08-10 18:38 ` ericonr
2021-08-10 18:38 ` ericonr
2021-08-10 18:38 ` ericonr
2021-08-10 18:38 ` ericonr
2021-08-10 18:38 ` ericonr
2021-08-10 20:39 ` [PR PATCH] [Updated] " tornaria
2021-08-10 20:46 ` tornaria
2021-08-10 20:48 ` tornaria
2021-08-17 21:50 ` tornaria
2021-08-18  9:26 ` dkwo
2021-08-18 14:44 ` tornaria
2021-08-18 14:57 ` dkwo
2021-08-18 16:57 ` dkwo
2021-08-18 18:48 ` [PR PATCH] [Merged]: " ericonr
2021-08-18 18:49 ` ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210806200246.L8sWf0s52mQxpkSnHB9G7aHhjvKXacEd8CBIpLblP7s@z \
    --to=tornaria@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).