Re: Extension elimination pass breaks SPU (Fw: spu gcc-4.5 linaro build failure)

2010-12-21 Thread Mark Mitchell
port other architectures, or otherwise. We can backport those changes, or we can just wait for our next merge from upstream, and get them then. This would give Linaro the clearly focused mission of providing excellent tools for ARMv7-A. My two cents, -- Mark M

Re: Extension elimination pass breaks SPU (Fw: spu gcc-4.5 linaro build failure)

2010-12-20 Thread Mark Mitchell
ormance improvement on ARM resulted in a 2% decrease on MIPS or 3% on x86? What commitment, if any, are we making to a distribution that cares about all of ARM, MIPS, and x86? Thank you, -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-3385 x713 __

Re: Extension elimination pass breaks SPU (Fw: spu gcc-4.5 linaro build failure)

2010-12-20 Thread Mark Mitchell
on between "make the best possible ARM Linux system" and "don't break other architectures". Thank you, -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-3385 x713 ___ linaro-toolchain mailing list linaro-toolchai

Re: Extension elimination pass breaks SPU (Fw: spu gcc-4.5 linaro build failure)

2010-12-20 Thread Mark Mitchell
ructions are considered valid, I'll have to > extend the SPU move expander to handle them. Thoughts? I haven't participated in the upstream discussion -- I'm way behind on that list :-( :-( -- but I think such sets should be considered valid. Thank you, -- Mark Mi

Re: Profile guided and string routines?

2010-12-19 Thread Mark Mitchell
7;d still like to see this handled a lot more generally, but I'm not saying that we should gate incremental progress on a grand plan. We could do both. :-) -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-3385 x713 ___ linaro-t

Re: Profile guided and string routines?

2010-12-19 Thread Mark Mitchell
users. For example, a library developer might very well like to ship some Python code that told the compiler that calling f(g(x)) is equivalent to calling h(x), or that if n < 3, you should translate f(n) into g(1); ...; g(n). -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-3385 x71

Re: Profile guided and string routines?

2010-12-16 Thread Mark Mitchell
answers are going to change depending on the application and on the core. -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-3385 x713 ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Re: GCC Optimization Brain Storming Session

2010-12-09 Thread Mark Mitchell
time for you, and let me know when it is. Thank you, -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-3385 x713 ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Re: RFC: Dynamic hwcaps

2010-12-06 Thread Mark Mitchell
if memcpy is the key example, we could get 80% of the benefit of your idea simply by a test inside memcpy as to the length of the data to be copied? -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-3385 x713 ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Re: RFC: Dynamic hwcaps

2010-12-05 Thread Mark Mitchell
ical path, I'm probably happy to do it slowly if that's more efficient than waking up the NEON unit. But, which of these cases I'm in isn't always locally known at the point I'm doing the computation; the computation may be buried in a small library routine.

Re: GCC Optimization Brain Storming Session

2010-11-26 Thread Mark Mitchell
ings require some significant infrastructure work. They aren't ARM-specific back-end changes. But, I suspect that they're important in terms of allowing GCC to take full advantage of ARM CPUs. -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-3385 x713 _

Re: GCC SVN vs. BZR/LP

2010-11-16 Thread Mark Mitchell
On 11/16/2010 7:35 PM, Michael Hope wrote: > Andrew, could you look into (2) please? We need to have an > authoritative answer from the GCC overseers or to assume 'no'. GCC policy is simple: you can host any branch you want in GCC SVN, so long as all the code is assigned to th

Re: Abstract submissions for QEMU Users Forum (March 18th)

2010-11-14 Thread Mark Mitchell
On 11/13/2010 8:03 AM, Christian Robottom Reis wrote: > I noticed that there's a QEMU users forum at: > > http://adt.cs.upb.de/quf/ Thanks for pointing this out -- I've forwarded this internally beyond just our Linaro team to see if anyone is interested in pr

Re: GCC SVN vs. BZR/LP

2010-11-09 Thread Mark Mitchell
best way to do that. It's also the simplest for an upstream GCC developer coming to work on Linaro. So, fundamentally, we have to choose whether we want to work as much as possible upstream (using an SVN branch), or whether we want uniformity across Linaro projects (using Launchpad). -- Mar

Re: Upstream GCC feature freeze

2010-11-08 Thread Mark Mitchell
ou might consider doing it this way instead" or "that looks pretty good!". -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-3385 x713 ___ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Re: the linaro toolchain and older arm versions

2010-10-07 Thread Mark Mitchell
d). That is one of the reasons that building the kernel and U-Boot tends to require lots of complex command-line options; you have to tell the compiler that it can't assume it's building a Linux application. -- Mark Mitchell CodeSourcery m...@codesourcery.c

Re: 2010-10-04 Toolchain WG minutes

2010-10-05 Thread Mark Mitchell
tter luck if you do not restrict it to ARM; i.e., if you are willing to also accept code for other CPUs, and even share algorithmic infrastructure that's common across various CPUs. You also want to design for some of the differences between a statically linked libc and a dynamic libc. -- M

Re: Host strip corrupts cross-built binaries

2010-09-30 Thread Mark Mitchell
On 9/30/2010 4:31 AM, Loïc Minier wrote: > On Wed, Sep 29, 2010, Mark Mitchell wrote: >> It is theoretically possible that there's insufficient information for >> strip to know what it's looking at, but I'd be very surprised; there >> should be an ELF header f

Re: Host strip corrupts cross-built binaries

2010-09-29 Thread Mark Mitchell
the right kind of strip and punt. It shouldn't blindly damage your object file when it has enough information to know that it doesn't know what it's doing. -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-3385 x713 __

Re: Host strip corrupts cross-built binaries

2010-09-22 Thread Mark Mitchell
On 9/22/2010 8:34 AM, Loïc Minier wrote: > Which component is to blame here? Are we looking at a binutils or a > gcc bug for not being able to set or read enough data that the > architecture mismatch isn't detected? What could we do about it? This is definitely a binutils

Re: Cross compiling for embedded targets

2010-09-11 Thread Mark Mitchell
ages for ARM -- for all of bare-metal, uClinux, and Linux -- with both Windows and Linux hosts. They're being downloaded thousands of times per month. Why reinvent the wheel? -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-3385 x713 ___

Re: Thumb2 code size improvements

2010-09-10 Thread Mark Mitchell
this case, implementation-defined-ness, IIRC) helps the compiler; it's free to do as it wants. So, this is no excuse for the compiler generating slow code. (In particular, the compiler needn't generate a test to see whether the argument is greater than INT_MAX.) -- Mark Mitchell CodeSo

Re: Glibc 2.12 issue

2010-09-01 Thread Mark Mitchell
cies on other shared libraries, that could potentially break binary compatibility across Linux distributions. If someone wants to build libgcc with -fstack-protector, that would require an assessment of all code in libgcc to make sure that is safe. libgcc is emphatically not "application" c

Re: [gnu-linaro-tools] Re: -fremove-local-statics optimization

2010-08-02 Thread Mark Mitchell
always have a Linaro-specific hack to accept the option and ignore it; certainly, CodeSourcery will support this command-line option in our tools going forward "forever". Thanks, -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-3385 x713 __