Hi, 2010/2/8 Martin Guy <martinw...@gmail.com>: > On 2/8/10, Bill Gatliff <b...@billgatliff.com> wrote: >> OT, but has anyone looked at what gains can be had by rebuilding >> packages with, say, A8 or other optimizations for processors that >> support them? > Well, it has a VFP FPU, so floating point apps will run N times > faster, and GCC optimizes some kinds of integer loops into SIMD > instructions for the NEON, beside the different instruction timing > info and pipeline description for better instruction scheduling. > > The easiest way to try this is to make fake versions of gcc and put > them at the start of the PATH: > > mkdir ~/cortex > cat > ~/cortex/gcc << EOF > #! /bin/sh > > exec gcc-4.3-crunch -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=softfp "$@" > EOF > chmod 755 ~/cortex/gcc > ln -s gcc ~/cortex/cc > ln -s gcc ~/cortex/gcc-4.3 > ln -s gcc ~/cortex/arm-linux-gnueabi-gcc
Indeed, this might be a nice to have in a future gcc-cross-defaults package. :-) > and fool the build system into using them > > PATH=~/cortex:$PATH dpkg-buildpackage -rfakeroot -B > > I'd be interested to know what difference it makes to non-FP applications I believe you would not mind to be quoted at debian wiki page[1]. [1] http://wiki.debian.org/EmdebianToolchain#Buildforanspecificmcpu.2Cmabi.2Cetc.. Feel free to remove or edit whatever you feel. Thanks, -- Héctor Orón "Our Sun unleashes tremendous flares expelling hot gas into the Solar System, which one day will disconnect us." -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org