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

2013-01-24 Thread JK Wood
On Jan 23, 2013 7:47 PM,  wrote:
>
> On Wednesday 23 January 2013 10:01:12 Matteo Bernardini wrote:
> > Hi J,
> >
> > I tried to adapt the line to take in account Eric's advices
> >
> > SLKCFLAGS=${SLKCFLAGS:--O2}
> > LIBDIRSUFFIX=""
> > [ "$(uname -m)" = "x86_64" ] && [ ! "$(echo $PATH | grep
^\/usr\/bin\/32)"
> > ] && SLKCFLAGS="$SLKCFLAGS -fPIC" LIBDIRSUFFIX="64"
> > [ "$ARCH" = "i486" ] || [ "$ARCH" = "native" ] && SLKCFLAGS="$SLKCFLAGS
> > -march=$ARCH"
> > [ "$ARCH" = "i486" ] || [ "$ARCH" = "i686" ] && SLKCFLAGS="$SLKCFLAGS
> > -mtune=i686"
> >
> > Matteo
> >
> > P.S. just to be clear, this is for fun only: ATM there's no plans to
change
> > anything regarding custom CFLAGS/ARCH detection.
> >
>
> I think all that would be needed is to add a line after the $SLKCFLAGS
block.
>
> if [ -n "$RICER_FLAGS" ]; t--hen SLKCFLAGS=$RICER_FLAGS; fi
>
> Then run your build  RICER_FLAGS="-enable-more-fruitloops"
./some.SlackBuild
>
> --dsomero :)
>

Just remember, using a red R in Slackware gives you better acceleration,
but using a yellow R increases your top speed.

-JK ___
> SlackBuilds-users mailing list
> SlackBuilds-users@slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-24 Thread Chris Farrell
Hi Luis,

just disowned it.
good luck.

Chris


On Wed, Jan 23, 2013 at 3:09 PM, Luis Henrique Mello
wrote:

> Hi Cris!
>
> I'm actually using BOTH... arch on a notebook and slackware on a desktop.
> I need two computers to 'train' my IT skills. And I just lve GNOME 3 -
> arch is the only distribution which ships GNOME 3 and *doesn't* split
> libraries and headers on their packages (who was the fucktard who had this
> 'genious' idea anyway?!) like slackware so it was really an obvious
> choice...
>
> Do you think my gpodder SBo is better somewhat? Do as thou wilt, after
> all, 'when there's no copyright notices on a slackbuild it is assumed to be
> in the public domain', did I get it right? :)
>
> Oh I see... you mean 'responsibility' for maintain the script, right? Oh
> well, I've never seen a 'missing' AUR of any software I actually use, it'd
> be an honor to contribute to the arch community somehow.
>
> Oh wait it was you who asked me about the 2.x gpodder series! You know
> what? Dump that and merge gpodder to gpodder3. I guess nobody will
> complain...
>
> On 01/23/2013 08:36 PM, Chris Farrell wrote:
>
>> Hi lmello
>> Are you using slackware again?
>> I was going to offer you a trade;
>> your gpodder SBo for my gpodder3 AUR.
>> I was thinking of leaving arch for crux.
>> tim cowchip
>> Chris
>>
>>
>> On Tue, Jan 22, 2013 at 3:45 AM, Luis Henrique Mello
>> mailto:lmello@gmail.com>> 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@slackbuilds.**__org
>> 
>> > >
>> http://lists.slackbuilds.org/_**_mailman/listinfo/slackbuilds-**
>> __users
>> 
>> 
>> >
>> Archives -
>> 
>> http://lists.slackbuilds.org/_**_pipermail/slackbuilds-users/
>> 
>> 
>> >
>> FAQ - http://slackbuilds.org/faq/
>>
>>
>>
>>
>> __**_
>> SlackBuilds-users mailing list
>> SlackBuilds-users@slackbuilds.**org 
>> http://lists.slackbuilds.org/**mailman/listinfo/slackbuilds-**users
>> Archives - 
>> http://lists.slackbuilds.org/**pipermail/slackbuilds-users/
>> FAQ - http://slackbuilds.org/faq/
>>
>>
> __**_
> SlackBuilds-users mailing list
> SlackBuilds-users@slackbuilds.**org 
> http://lists.slackbuilds.org/**mailman/listinfo/slackbuilds-**users
> Archives - 
> http://lists.slackbuilds.org/**pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-24 Thread chris

Hi lmello,

Leave a post here: https://aur.archlinux.org/packages/gpodder3/ 
indicating your interest in maintaining gpodder3 for arch and I will 
disown the package as soon after so that you can then adopt it.


Tim Cowchip
Chris

Luis Henrique Mello wrote:

Hi Cris!

I'm actually using BOTH... arch on a notebook and slackware on a 
desktop. I need two computers to 'train' my IT skills. And I just 
lve GNOME 3 - arch is the only distribution which ships GNOME 3 
and *doesn't* split libraries and headers on their packages (who was 
the fucktard who had this 'genious' idea anyway?!) like slackware so 
it was really an obvious choice...


Do you think my gpodder SBo is better somewhat? Do as thou wilt, after 
all, 'when there's no copyright notices on a slackbuild it is assumed 
to be in the public domain', did I get it right? :)


Oh I see... you mean 'responsibility' for maintain the script, right? 
Oh well, I've never seen a 'missing' AUR of any software I actually 
use, it'd be an honor to contribute to the arch community somehow.


Oh wait it was you who asked me about the 2.x gpodder series! You know 
what? Dump that and merge gpodder to gpodder3. I guess nobody will 
complain...


On 01/23/2013 08:36 PM, Chris Farrell wrote:

Hi lmello
Are you using slackware again?
I was going to offer you a trade;
your gpodder SBo for my gpodder3 AUR.
I was thinking of leaving arch for crux.
tim cowchip
Chris


On Tue, Jan 22, 2013 at 3:45 AM, Luis Henrique Mello
mailto:lmello@gmail.com>> 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@slackbuilds.__org

http://lists.slackbuilds.org/__mailman/listinfo/slackbuilds-__users

Archives -
http://lists.slackbuilds.org/__pipermail/slackbuilds-users/

FAQ - http://slackbuilds.org/faq/




___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-23 Thread Matteo Bernardini
A small thought: the problem setting ARCH=native is that the final package
will be called something like foo-1.1-native-1_SBo, while it should have a
name dependant on the minimum CPU where it will run (like Stuart is doing
on arm).

To get the CFLAGS selected by -march=native, for a possible use like
XGizzmo suggest, I use here this dirty trick

$ gcc -### -e -v -march=native /usr/include/stdlib.h 2>&1 | tail -1 | sed
"s|.*\"-march=|\"-march=|" | sed "s|\ -quiet\ .*||"
"-march=corei7-avx" -mcx16 -msahf -mno-movbe -mno-aes -mpclmul -mpopcnt
-mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm
-mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c
-mno-fsgsbase --param "l1-cache-size=32" --param "l1-cache-line-size=64"
--param "l2-cache-size=3072" "-mtune=corei7-avx"

In theory, the resulting package built specifying these CFLAGS should be
called foo-1.1-corei7_avx-1_SBo (note the use of underscore in the ARCH to
avoid confusing pkgtool).
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-23 Thread J Pipkin

On 2013-01-23 09:01, Matteo Bernardini wrote:

Hi J,

I tried to adapt the line to take in account Eric's advices

SLKCFLAGS=${SLKCFLAGS:--O2}
LIBDIRSUFFIX=""
[ "$(uname -m)" = "x86_64" ] && [ ! "$(echo $PATH | grep
^/usr/bin/32)" ] && SLKCFLAGS="$SLKCFLAGS -fPIC" LIBDIRSUFFIX="64"
 [ "$ARCH" = "i486" ] || [ "$ARCH" = "native" ] &&
SLKCFLAGS="$SLKCFLAGS -march=$ARCH"
[ "$ARCH" = "i486" ] || [ "$ARCH" = "i686" ] && SLKCFLAGS="$SLKCFLAGS
-mtune=i686"

Matteo


oh, I like this idea a lot - a huge usability win to not have to edit 
the .SlackBuild for such cases. of course, since SBo's official stance 
is "no support for multilib", I guess there's not much chance of this 
being acceptable... but it would be nice. also, probably want grep -q :)


On 2013-01-23 21:16, Kyle Guinn wrote:

On 1/23/13, xgiz...@slackbuilds.org  wrote:

This topic has me curious.  Can anyone explain to me why we add -fPIC
for x86_64, or why we don't add it to the others?

-Kyle


the over-simplified answer is that it makes dynamic linking on x86_64 
possible, and that on x86 dynamic linking Just Works. if you'd like a 
more technical understanding, there are plenty of these available 
online, just google for something like "fpic x86_64" or "fpic amd64" or 
such.

___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-23 Thread Kyle Guinn
On 1/23/13, xgiz...@slackbuilds.org  wrote:
> I think all that would be needed is to add a line after the $SLKCFLAGS
> block.
>
> if [ -n "$RICER_FLAGS" ]; then SLKCFLAGS=$RICER_FLAGS; fi
>
> Then run your build  RICER_FLAGS="-enable-more-fruitloops"
> ./some.SlackBuild
>
> --dsomero :)

Classy :)

This topic has me curious.  Can anyone explain to me why we add -fPIC
for x86_64, or why we don't add it to the others?

-Kyle
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-23 Thread xgizzmo
On Wednesday 23 January 2013 10:01:12 Matteo Bernardini wrote:
> Hi J,
> 
> I tried to adapt the line to take in account Eric's advices
> 
> SLKCFLAGS=${SLKCFLAGS:--O2}
> LIBDIRSUFFIX=""
> [ "$(uname -m)" = "x86_64" ] && [ ! "$(echo $PATH | grep ^\/usr\/bin\/32)"
> ] && SLKCFLAGS="$SLKCFLAGS -fPIC" LIBDIRSUFFIX="64"
> [ "$ARCH" = "i486" ] || [ "$ARCH" = "native" ] && SLKCFLAGS="$SLKCFLAGS
> -march=$ARCH"
> [ "$ARCH" = "i486" ] || [ "$ARCH" = "i686" ] && SLKCFLAGS="$SLKCFLAGS
> -mtune=i686"
> 
> Matteo
> 
> P.S. just to be clear, this is for fun only: ATM there's no plans to change
> anything regarding custom CFLAGS/ARCH detection.
> 

I think all that would be needed is to add a line after the $SLKCFLAGS block.
 
if [ -n "$RICER_FLAGS" ]; then SLKCFLAGS=$RICER_FLAGS; fi

Then run your build  RICER_FLAGS="-enable-more-fruitloops" ./some.SlackBuild

--dsomero :)
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-23 Thread Luis Henrique Mello

Hi Cris!

I'm actually using BOTH... arch on a notebook and slackware on a 
desktop. I need two computers to 'train' my IT skills. And I just 
lve GNOME 3 - arch is the only distribution which ships GNOME 3 and 
*doesn't* split libraries and headers on their packages (who was the 
fucktard who had this 'genious' idea anyway?!) like slackware so it was 
really an obvious choice...


Do you think my gpodder SBo is better somewhat? Do as thou wilt, after 
all, 'when there's no copyright notices on a slackbuild it is assumed to 
be in the public domain', did I get it right? :)


Oh I see... you mean 'responsibility' for maintain the script, right? Oh 
well, I've never seen a 'missing' AUR of any software I actually use, 
it'd be an honor to contribute to the arch community somehow.


Oh wait it was you who asked me about the 2.x gpodder series! You know 
what? Dump that and merge gpodder to gpodder3. I guess nobody will 
complain...


On 01/23/2013 08:36 PM, Chris Farrell wrote:

Hi lmello
Are you using slackware again?
I was going to offer you a trade;
your gpodder SBo for my gpodder3 AUR.
I was thinking of leaving arch for crux.
tim cowchip
Chris


On Tue, Jan 22, 2013 at 3:45 AM, Luis Henrique Mello
mailto:lmello@gmail.com>> 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@slackbuilds.__org

http://lists.slackbuilds.org/__mailman/listinfo/slackbuilds-__users

Archives -
http://lists.slackbuilds.org/__pipermail/slackbuilds-users/

FAQ - http://slackbuilds.org/faq/




___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-23 Thread Chris Farrell
Hi lmello
Are you using slackware again?
I was going to offer you a trade;
your gpodder SBo for my gpodder3 AUR.
I was thinking of leaving arch for crux.
tim cowchip
Chris


On Tue, Jan 22, 2013 at 3:45 AM, 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@slackbuilds.**org 
> http://lists.slackbuilds.org/**mailman/listinfo/slackbuilds-**users
> Archives - 
> http://lists.slackbuilds.org/**pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-23 Thread Matteo Bernardini
Hi J,

I tried to adapt the line to take in account Eric's advices

SLKCFLAGS=${SLKCFLAGS:--O2}
LIBDIRSUFFIX=""
[ "$(uname -m)" = "x86_64" ] && [ ! "$(echo $PATH | grep ^\/usr\/bin\/32)"
] && SLKCFLAGS="$SLKCFLAGS -fPIC" LIBDIRSUFFIX="64"
[ "$ARCH" = "i486" ] || [ "$ARCH" = "native" ] && SLKCFLAGS="$SLKCFLAGS
-march=$ARCH"
[ "$ARCH" = "i486" ] || [ "$ARCH" = "i686" ] && SLKCFLAGS="$SLKCFLAGS
-mtune=i686"

Matteo

P.S. just to be clear, this is for fun only: ATM there's no plans to change
anything regarding custom CFLAGS/ARCH detection.
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-23 Thread j

On 2013-01-23 04:26, Matteo Bernardini wrote:

2013/1/23 Tim Dickson 


On 23/01/2013 07:21, Matteo Bernardini wrote:


I lied (previous versions are fails)

SLKCFLAGS=${SLKCFLAGS:--O2}
LIBDIRSUFFIX=""
[ "$(uname -m)" = "x86_64" ] && SLKCFLAGS="$SLKCFLAGS -fPIC" 
LIBDIRSUFFIX="64"
[ "$ARCH" = "i486" ] || [ "$ARCH" = "native" ] && 
SLKCFLAGS="$SLKCFLAGS -march=$ARCH"
[ "$ARCH" = "i486" ] || [ "$ARCH" = "i686" ] && 
SLKCFLAGS="$SLKCFLAGS -mtune=i686"
i think you would have difficulties creating 32bit packages from 
64bit (multilib) slackware, as uname -m would set libdirsuffix to 64 
which is not what you want for 32bit package. you might have to add a  
&& ![ "$ARCH" = "i486" ] or something similar after the first part of 
the test.


thank for spotting it, you mean something like this?



it does not apply, because ARCH should not get changed in order to 
compile 32bit packages on multilib x86_64 bit systems, per 
http://www.slackware.com/~alien/multilib/ :


--
You will be able to use standard SlackBuilds to build 32-bit packages 
for

Slackware64.  There are two things to keep in mind:
(1) You will have to define the ARCH variable as 'x86_64' even though 
you

are compiling a 32-bit program!
(2) You will have to edit the SlackBuild and if it wants to use 
'lib64/'
directories for "$ARCH = x86_64", you will have to force it to use 
'lib/'
directories instead.  Usually, this is accomplished by finding a 
definition

like:
  LIBDIRSUFFIX="64"
and change this line to
  LIBDIRSUFFIX=""
--

so this is not even a consideration.
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-23 Thread Matteo Bernardini
2013/1/23 Tim Dickson 

>  On 23/01/2013 07:21, Matteo Bernardini wrote:
>
>  I lied (previous versions are fails)
>
> SLKCFLAGS=${SLKCFLAGS:--O2}
> LIBDIRSUFFIX=""
> [ "$(uname -m)" = "x86_64" ] && SLKCFLAGS="$SLKCFLAGS -fPIC"
> LIBDIRSUFFIX="64"
> [ "$ARCH" = "i486" ] || [ "$ARCH" = "native" ] && SLKCFLAGS="$SLKCFLAGS
> -march=$ARCH"
> [ "$ARCH" = "i486" ] || [ "$ARCH" = "i686" ] && SLKCFLAGS="$SLKCFLAGS
> -mtune=i686"
>
>   i think you would have difficulties creating 32bit packages from 64bit
> (multilib) slackware, as uname -m would set libdirsuffix to 64 which is not
> what you want for 32bit package. you might have to add a  && ![ "$ARCH" =
> "i486" ] or something similar after the first part of the test.
>

thank for spotting it, you mean something like this?

SLKCFLAGS=${SLKCFLAGS:--O2}
LIBDIRSUFFIX=""
[ "$ARCH" = "x86_64" ] || [ "$ARCH" = "native" ] && [ "$(uname -m)" =
"x86_64" ] && SLKCFLAGS="$SLKCFLAGS -fPIC" LIBDIRSUFFIX="64"
[ "$ARCH" = "i486" ] || [ "$ARCH" = "native" ] && SLKCFLAGS="$SLKCFLAGS
-march=$ARCH"
[ "$ARCH" = "i486" ] || [ "$ARCH" = "i686" ] && SLKCFLAGS="$SLKCFLAGS
-mtune=i686"

Matteo
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-23 Thread Tim Dickson

On 23/01/2013 07:21, Matteo Bernardini wrote:

I lied (previous versions are fails)

SLKCFLAGS=${SLKCFLAGS:--O2}
LIBDIRSUFFIX=""
[ "$(uname -m)" = "x86_64" ] && SLKCFLAGS="$SLKCFLAGS -fPIC" 
LIBDIRSUFFIX="64"
[ "$ARCH" = "i486" ] || [ "$ARCH" = "native" ] && 
SLKCFLAGS="$SLKCFLAGS -march=$ARCH"
[ "$ARCH" = "i486" ] || [ "$ARCH" = "i686" ] && SLKCFLAGS="$SLKCFLAGS 
-mtune=i686"


Matteo


___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/

i think you would have difficulties creating 32bit packages from 64bit 
(multilib) slackware, as uname -m would set libdirsuffix to 64 which is 
not what you want for 32bit package. you might have to add a  && ![ 
"$ARCH" = "i486" ] or something similar after the first part of the test.

Tim
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-23 Thread Kyle Guinn
On 1/22/13, 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.

Well, one problem is that you have a package that advertises itself as
working on $ARCH (by having $ARCH in the package filename) but it may
not actually work on every CPU with that $ARCH so you can't safely
distribute it.

If you're going to go that route, why not just use -march=native?
Maybe also set $ARCH to "native" for lack of anything better to use,
and then it should be clear that you shouldn't redistribute the
resulting package.  I'm sure there's a way to work that into the 'if [
"$ARCH" = "i486" ] ...' stanza if you can find a way to add -fPIC and
set $LIBDIRSUFFIX appropriately on 64-bit machines.

-Kyle
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-22 Thread Matteo Bernardini
2013/1/23 Matteo Bernardini 

> 2013/1/23 Kyle Guinn 
>
>> SLKCFLAGS="-O2"
>> LIBDIRSUFFIX=""
>> if [ "$ARCH" = "x86_64" -o \( "$ARCH" = "native" -a "$(uname -m)" =
>> "x86_64" \) ]; then
>>   SLKCFLAGS="$SLKCFLAGS -fPIC"
>>   LIBDIRSUFFIX="64"
>> fi
>> if [ "$ARCH" = "native" ]; then
>>   SLKCFLAGS="$SLKCFLAGS -march=native"
>> elif [ "$ARCH" = "i486" ]; then
>>   SLKCFLAGS="$SLKCFLAGS -march=i486 -mtune=i686"
>> elif [ "$ARCH" = "i686" ]; then
>>   SLKCFLAGS="$SLKCFLAGS -march=i686 -mtune=i686"
>> fi
>>
>
> I played a little with it
>

still playing, this is what I came up with at the end

SLKCFLAGS=${SLKCFLAGS:--O2}
LIBDIRSUFFIX=""
[ "$(uname -m)" = "x86_64" ] && SLKCFLAGS="$SLKCFLAGS -fPIC"
LIBDIRSUFFIX="64"
[ "$ARCH" = "i?86" ] || [ "$ARCH" = "native" ] && SLKCFLAGS="$SLKCFLAGS
-march=$ARCH"
[ "$ARCH" = "i686" ] && SLKCFLAGS="$SLKCFLAGS -mtune=$ARCH"
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-22 Thread Matteo Bernardini
2013/1/23 Kyle Guinn 

> SLKCFLAGS="-O2"
> LIBDIRSUFFIX=""
> if [ "$ARCH" = "x86_64" -o \( "$ARCH" = "native" -a "$(uname -m)" =
> "x86_64" \) ]; then
>   SLKCFLAGS="$SLKCFLAGS -fPIC"
>   LIBDIRSUFFIX="64"
> fi
> if [ "$ARCH" = "native" ]; then
>   SLKCFLAGS="$SLKCFLAGS -march=native"
> elif [ "$ARCH" = "i486" ]; then
>   SLKCFLAGS="$SLKCFLAGS -march=i486 -mtune=i686"
> elif [ "$ARCH" = "i686" ]; then
>   SLKCFLAGS="$SLKCFLAGS -march=i686 -mtune=i686"
> fi
>

I played a little with it

SLKCFLAGS=${SLKCFLAGS:--O2}
LIBDIRSUFFIX=""
[ "$ARCH" = "x86_64" ] || [ "$ARCH" = "native" -a "$(uname -m)" = "x86_64"
] \
  && SLKCFLAGS="$SLKCFLAGS -fPIC" ; LIBDIRSUFFIX="64"
[ "$ARCH" = "i486" ] || [ "$ARCH" = "native" ] \
  && SLKCFLAGS="$SLKCFLAGS -march=$ARCH"
[ "$ARCH" = "i686" ] && SLKCFLAGS="$SLKCFLAGS -march=$ARCH -mtune=$ARCH"

Matteo
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-22 Thread Kyle Guinn
On 1/22/13, Kyle Guinn  wrote:
> On 1/22/13, 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.
>
> Well, one problem is that you have a package that advertises itself as
> working on $ARCH (by having $ARCH in the package filename) but it may
> not actually work on every CPU with that $ARCH so you can't safely
> distribute it.
>
> If you're going to go that route, why not just use -march=native?
> Maybe also set $ARCH to "native" for lack of anything better to use,
> and then it should be clear that you shouldn't redistribute the
> resulting package.  I'm sure there's a way to work that into the 'if [
> "$ARCH" = "i486" ] ...' stanza if you can find a way to add -fPIC and
> set $LIBDIRSUFFIX appropriately on 64-bit machines.

Here's my first attempt at $ARCH=native:

SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
if [ "$ARCH" = "x86_64" -o \( "$ARCH" = "native" -a "$(uname -m)" =
"x86_64" \) ]; then
  SLKCFLAGS="$SLKCFLAGS -fPIC"
  LIBDIRSUFFIX="64"
fi
if [ "$ARCH" = "native" ]; then
  SLKCFLAGS="$SLKCFLAGS -march=native"
elif [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="$SLKCFLAGS -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="$SLKCFLAGS -march=i686 -mtune=i686"
fi

-Kyle
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-22 Thread Luis Henrique Mello

It indeed works, just tested it.

This could be useful not only for Desmume, but all 'heavyweight' 
computing applications such as Octave.


What do you guys think?

On 01/23/2013 12:33 AM, Larry Hajali wrote:

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
mailto:lmello@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
mailto:kingbeow...@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 mailto:slack...@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@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, slack...@gmail.com
 >

  > LinuxQuestions.org Forum Moderator
  >
http://www.linuxquestions.org/__questions/user/tobisgd-506425/

  >
  > _
  > SlackBuilds-users mailing list
  > SlackBuilds-users@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@slackbuilds.__org

 >

http://lists.slackbuilds.org/__mailman/listinfo/slackbuilds-__users

 Archives -
http://lists.slackbuilds.org/__pipermail/slackbuilds-users/

 FAQ - http://slackbuilds.org/faq/




_
SlackBuilds-users mailing list
SlackBuilds-users

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

2013-01-22 Thread Larry Hajali
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
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 > **> 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 > > 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@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, slack...@gmail.com 
>>
>>  > LinuxQuestions.org Forum Moderator
>>  > 
>> http://www.linuxquestions.org/**questions/user/tobisgd-506425/
>>  >
>>  > __**_
>>  > SlackBuilds-users mailing list
>>  > SlackBuilds-users@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@slackbuilds.**org
>> 
>> > >
>>
>> 
>> http://lists.slackbuilds.org/**mailman/listinfo/slackbuilds-**users
>> Archives - http://lists.slackbuilds.org/**
>> pipermail/slackbuilds-users/
>> FAQ - http://slackbuilds.org/faq/
>>
>>
>>
>>
>> __**_
>> SlackBuilds-users mailing list
>> SlackBuilds-users@slackbuilds.**org 
>> http://lists.slackbuilds.org/**mailman/listinfo/slackbuilds-**users
>> Archives - 
>> http://lists.slackbuilds.org/**pipermail/slackbuilds-users/
>> FAQ - http://slackbuilds.org/faq/
>>
>>
> __**_
> SlackBuilds-users mailing list
> SlackBuilds-users@slackbuilds.**org 
> http://lists.slackbuilds.org/**mailman/listinfo/slackbuilds-**users
> Archives - 
> http://lists.slackbuilds.org/**pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-22 Thread Luis Henrique Mello

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 mailto:kingbeow...@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 mailto:slack...@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@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, slack...@gmail.com 
 > LinuxQuestions.org Forum Moderator
 > http://www.linuxquestions.org/questions/user/tobisgd-506425/
 >
 > ___
 > SlackBuilds-users mailing list
 > SlackBuilds-users@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@slackbuilds.org

http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/




___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-22 Thread Larry Hajali
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  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  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@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, slack...@gmail.com
> > LinuxQuestions.org Forum Moderator
> > http://www.linuxquestions.org/questions/user/tobisgd-506425/
> >
> > ___
> > SlackBuilds-users mailing list
> > SlackBuilds-users@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@slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>
___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-22 Thread Luis Henrique Mello

Good idea - this boosted me like almost 10fps...

On 01/22/2013 01:42 PM, King Beowulf 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  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@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, slack...@gmail.com
LinuxQuestions.org Forum Moderator
http://www.linuxquestions.org/questions/user/tobisgd-506425/

___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/






___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-22 Thread King Beowulf
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  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@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, slack...@gmail.com
> LinuxQuestions.org Forum Moderator
> http://www.linuxquestions.org/questions/user/tobisgd-506425/
>
> ___
> SlackBuilds-users mailing list
> SlackBuilds-users@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@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-22 Thread Tobias Eichmann
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@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, slack...@gmail.com
LinuxQuestions.org Forum Moderator 
http://www.linuxquestions.org/questions/user/tobisgd-506425/

___
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/



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

2013-01-21 Thread Luis Henrique Mello

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@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - http://slackbuilds.org/faq/