[Slackbuilds-users] Desmume on 64-bit - optimization flag

Larry Hajali larryhaja at gmail.com
Tue Jan 22 16:23:50 UTC 2013


Could just add an if statement that will add it to the SLKCFLAGS if it is
detected on the computer.

if grep [^s]sse3 /proc/cpuinfo 2>/dev/null; then
  SLKCFLAGS="$SLKCFLAGS -msse3"
fi

Not sure if this leads to undesirable results.  I don't have an sse3
capable processor, so I can't test.

--Larry

On Tue, Jan 22, 2013 at 7:42 AM, King Beowulf <kingbeowulf at gmail.com> wrote:

> Add it as a switch option? That way there is a reminder for those
> users who can benefit from ss3 as they might not think of it or
> release otherwise.
>
>
> On 1/22/13, Tobias Eichmann <slackeee at gmail.com> wrote:
> > On Tue, Jan 22, 2013 at 01:45:54AM -0200, Luis Henrique Mello wrote:
> >> Hi,
> >>
> >> I've noticed that adding '-msse3' to the $SLKCFLAGS on a x86_64 bit
> >> build improves performance.
> >>
> >> - Luis
> >> _______________________________________________
> >> SlackBuilds-users mailing list
> >> SlackBuilds-users at slackbuilds.org
> >> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> >> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> >> FAQ - http://slackbuilds.org/faq/
> >>
> >
> > Not all x86_64 CPUs support SSE3 (the lowest common denominator is SSE2),
> > so
> > adding this option by default will render the script unusable for owners
> of
> > such CPUs.
> >
> > - Tobi
> >
> > --
> > Tobias Eichmann, slackeee at gmail.com
> > LinuxQuestions.org Forum Moderator
> > http://www.linuxquestions.org/questions/user/tobisgd-506425/
> >
> > _______________________________________________
> > SlackBuilds-users mailing list
> > SlackBuilds-users at slackbuilds.org
> > http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> > Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> > FAQ - http://slackbuilds.org/faq/
> >
> >
>
> --
> Sent from my mobile device
>
> You! What PLANET is this!
>         -- McCoy, "The City on the Edge of Forever", stardate 3134.0
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20130122/ed2cf4a1/attachment.html>


More information about the SlackBuilds-users mailing list