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

Larry Hajali larryhaja at gmail.com
Wed Jan 23 02:33:26 UTC 2013


Yes, that probably is correct.  But there wasn't good information on sse3
vs. ssse3 when I did a google search.

On Tue, Jan 22, 2013 at 5:29 PM, Luis Henrique Mello
<lmello.009 at gmail.com>wrote:

> The correct 'if' statement would be:
>
> if grep ssse3 /proc/cpuinfo 1> /dev/null; then
>   SLKCFLAGS="$SLKCFLAGS -msse3"
> fi
>
>
> On 01/22/2013 02:23 PM, Larry Hajali wrote:
>
>> 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
>> <mailto: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
>>     <mailto: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<SlackBuilds-users at slackbuilds.org>
>>     <mailto:SlackBuilds-users@**slackbuilds.org<SlackBuilds-users at slackbuilds.org>
>> >
>>
>>      >> http://lists.slackbuilds.org/**mailman/listinfo/slackbuilds-**
>> users <http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users>
>>      >> Archives - http://lists.slackbuilds.org/**
>> pipermail/slackbuilds-users/<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 <mailto:slackeee at gmail.com>
>>
>>      > LinuxQuestions.org Forum Moderator
>>      > http://www.linuxquestions.org/**questions/user/tobisgd-506425/<http://www.linuxquestions.org/questions/user/tobisgd-506425/>
>>      >
>>      > ______________________________**_________________
>>      > SlackBuilds-users mailing list
>>      > SlackBuilds-users at slackbuilds.**org<SlackBuilds-users at slackbuilds.org>
>>     <mailto:SlackBuilds-users@**slackbuilds.org<SlackBuilds-users at slackbuilds.org>
>> >
>>
>>      > http://lists.slackbuilds.org/**mailman/listinfo/slackbuilds-**
>> users <http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users>
>>      > Archives - http://lists.slackbuilds.org/**
>> pipermail/slackbuilds-users/<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<SlackBuilds-users at slackbuilds.org>
>>     <mailto:SlackBuilds-users@**slackbuilds.org<SlackBuilds-users at slackbuilds.org>
>> >
>>
>>     http://lists.slackbuilds.org/**mailman/listinfo/slackbuilds-**users<http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users>
>>     Archives - http://lists.slackbuilds.org/**
>> pipermail/slackbuilds-users/<http://lists.slackbuilds.org/pipermail/slackbuilds-users/>
>>     FAQ - http://slackbuilds.org/faq/
>>
>>
>>
>>
>> ______________________________**_________________
>> SlackBuilds-users mailing list
>> SlackBuilds-users at slackbuilds.**org <SlackBuilds-users at slackbuilds.org>
>> http://lists.slackbuilds.org/**mailman/listinfo/slackbuilds-**users<http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users>
>> Archives - http://lists.slackbuilds.org/**pipermail/slackbuilds-users/<http://lists.slackbuilds.org/pipermail/slackbuilds-users/>
>> FAQ - http://slackbuilds.org/faq/
>>
>>
> ______________________________**_________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.**org <SlackBuilds-users at slackbuilds.org>
> http://lists.slackbuilds.org/**mailman/listinfo/slackbuilds-**users<http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users>
> Archives - http://lists.slackbuilds.org/**pipermail/slackbuilds-users/<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/3bf15517/attachment-0001.html>


More information about the SlackBuilds-users mailing list