[Slackbuilds-users] sse2 optimisation
David Spencer
baildon.research at googlemail.com
Sat Jun 26 12:58:36 UTC 2010
Greetings SlackPeople, may I ask your advice?
I'm doing a SlackBuild for Luminance HDR. Its compiler flags assume
that SSE2 instructions are available. That's a bad assumption, but
it's easy to make it configurable with a variable SSE2=yes|no and a
note in the README.
So, here's my question. Should the SlackBuild's default be SSE2=yes,
or SSE2=no? There are three obvious choices.
(1) The default should match upstream's assumption => SSE2=yes
(2) The default should work on any processor => SSE2=no
(3) Determine the default from the ARCH => if x86_64 then SSE2=yes else SSE2=no
Any thoughts? I'm guessing everyone hates (3) :-)
Best regards
-Dave Spencer
More information about the SlackBuilds-users
mailing list