Re: [testsuite] gcc.target/arm/div64-unwinding.c: xfail for linux

2012-10-14 Thread Michael Hope
On 10 October 2012 22:57, Richard Earnshaw wrote: > On 10/10/12 03:11, Janis Johnson wrote: >> >> On 10/09/2012 07:39 AM, Richard Earnshaw wrote: >>> >>> On 27/09/12 01:02, Janis Johnson wrote: Test gcc.target/arm/div64-unwinding.c is known to fail for GNU/Linux targets, as describe

Re: [PATCH, ARM] Unaligned accesses for builtin memcpy [2/2]

2011-10-17 Thread Michael Hope
On Fri, Oct 14, 2011 at 6:53 AM, Julian Brown wrote: > On Wed, 28 Sep 2011 14:33:17 +0100 > Ramana Radhakrishnan wrote: > >> On 6 May 2011 14:13, Julian Brown wrote: >> > Hi, >> > >> > This is the second of two patches to add unaligned-access support to >> > the ARM backend. It builds on the fir

Re: [PATCH, ARM] Don't pull in unwinder for 64-bit division routines

2012-08-21 Thread Michael Hope
On 17 August 2012 07:29, Julian Brown wrote: > On Thu, 16 Aug 2012 19:56:52 +0100 > Ramana Radhakrishnan wrote: > >> On 07/24/12 13:27, Julian Brown wrote: >> > On Fri, 20 Jul 2012 11:15:27 +0100 >> > Julian Brown wrote: >> > >> >> Anyway: this revised version of the patch removes the strange >>

Re: [PING ARM Patches] PR53447: optimizations of 64bit ALU operation with constant

2012-06-19 Thread Michael Hope
On 18 June 2012 22:17, Carrot Wei wrote: > Hi > > Could ARM maintainers review following patches? > > http://gcc.gnu.org/ml/gcc-patches/2012-06/msg00497.html > 64bit add/sub constants. > > http://gcc.gnu.org/ml/gcc-patches/2012-05/msg01834.html > 64bit and with constants. > > http://gcc.gnu.org/ml

[PATCH, 4.6] Unsupported c++-11 selector in nullptr28.C

2012-07-02 Thread Michael Hope
/testsuite/ 2012-07-03 Michael Hope PR c++/53814 * g++.dg/cpp0x/nullptr28.C: Change selector for explicit options. diff --git a/gcc/testsuite/g++.dg/cpp0x/nullptr28.C b/gcc/testsuite/g++.dg/cpp0x/nullptr28.C index 05fbe57..4cc790d 100644 --- a/gcc/testsuite/g++.dg/cpp0x

Re: [RFA/ARM 1/3] Add VFP support for VFMA and friends

2012-07-15 Thread Michael Hope
On 5 July 2012 21:13, Matthew Gretton-Dann wrote: > On 26/06/12 14:44, Richard Earnshaw wrote: >> >> On 25/06/12 15:59, Matthew Gretton-Dann wrote: >>> >>> All, >>> >>> This patch adds support to the ARM backend for generating floating-point >>> fused multiply-accumulate. >>> >>> OK? >>> >>> gcc/C

[PATCH, 4.7] Enable the libstdc++ prettyprinters test suite

2012-07-24 Thread Michael Hope
re enabled as expected. OK for 4.7? -- Michael 2012-07-25 Michael Hope Backport from mainline r186389: 2012-04-12 Andreas Schwab * testsuite/Makefile.am (check_DEJAGNUnormal0): Run prettyprinters.exp. * testsuite/Makefile.in: Regenerated. diff --git

Re: [PATCH, 4.7] Enable the libstdc++ prettyprinters test suite

2012-07-31 Thread Michael Hope
cc'ed the libstdc++ list. Ping? -- Michael On 25/07/12 12:12, Michael Hope wrote: The libstdc++ prettyprinters test suite isn't called out in Makefile.am. Backport Andreas's patch from mainline so that a sequential test run gives the same results as a parallel test.

Re: [PATCH v2] ARM: Use different linker path for hardfloat ABI

2012-04-26 Thread Michael Hope
On 27 April 2012 08:20, Carlos O'Donell wrote: > On Mon, Apr 23, 2012 at 5:36 PM, Michael Hope wrote: >> 2012-04-24  Michael Hope   >>            Richard Earnshaw   >> >>        * config/arm/linux-eabi.h (GLIBC_DYNAMIC_LINKER_SOFT_FLOAT): Define. >>  

Re: [PATCH v2] ARM: Use different linker path for hardfloat ABI

2012-04-30 Thread Michael Hope
On 1 May 2012 03:24, Richard Earnshaw wrote: > On 27/04/12 00:27, Michael Hope wrote: >> On 27 April 2012 08:20, Carlos O'Donell wrote: >>> On Mon, Apr 23, 2012 at 5:36 PM, Michael Hope >>> wrote: >>>> 2012-04-24  Michael Hope   >>>>    

Re: [PATCH v2] ARM: Use different linker path for hardfloat ABI

2012-04-30 Thread Michael Hope
On 1 May 2012 10:01, Jeff Law wrote: > On 04/30/2012 03:47 PM, Michael Hope wrote: > >>>> >>>> 2012-04-27  Michael Hope >>>> >>>>       * config/arm/linux-eabi.h (GLIBC_DYNAMIC_LINKER): Pick the loader >>>>       using a spec rule

[PATCH, 4.6] Fix PR53170: missing target c++11 selector

2012-05-20 Thread Michael Hope
} "' errors which have appeared in recent 4.6 builds. Tested on x86_64-linux-gnu with no regressions. Changes the ERROR to UNSUPPORTED. OK for 4.6? -- Michael 2012-05-21 Michael Hope PR 53170 Backport from mainline 2011-11-08 Jason Merrill * lib/

Re: [PATCH, 4.6] Fix PR53170: missing target c++11 selector

2012-05-22 Thread Michael Hope
On 21/05/12 21:14, Paolo Carlini wrote: On 05/21/2012 01:45 AM, Michael Hope wrote: The testsuite for PR52796 uses the 'target c++11' selector which doesn't exist in 4.6. This patch backports the selector, clearing the 'ERROR: g++.dg/cpp0x/variadic-value1.C: syntax erro

Re: [PATCH v2] ARM: Use different linker path for hardfloat ABI

2012-05-23 Thread Michael Hope
On 24 May 2012 02:16, Mike Frysinger wrote: > On Wednesday 23 May 2012 04:17:51 Richard Guenther wrote: >> On Wed, 23 May 2012, Andreas Jaeger wrote: >> > On Wednesday, May 23, 2012 09:56:31 Richard Earnshaw wrote: >> > > [...] >> > > This is a behaviour change.  It would need RM approval for a re

Re: [PATCH, 4.6] Fix PR53170: missing target c++11 selector

2012-05-23 Thread Michael Hope
On 24 May 2012 00:27, Paolo Carlini wrote: > On 05/23/2012 05:39 AM, Michael Hope wrote: >> >> On 21/05/12 21:14, Paolo Carlini wrote: >>> >>> On 05/21/2012 01:45 AM, Michael Hope wrote: >>>> >>>> The testsuite for PR52796 uses th

Re: [RFA:] Caveat for ARM in gcc-4.7/changes.html: unaligned accesses

2012-06-07 Thread Michael Hope
On 8 June 2012 12:15, Hans-Peter Nilsson wrote: > (CC to ARM maintainer approving the original patch.) > > I'm listing this under "caveats" rather than "improvements" and > before the current top ARM-related caveat (as this one is more > important :) because I don't see performance figures in the

Re: [RFA:] Caveat for ARM in gcc-4.7/changes.html: unaligned accesses

2012-06-07 Thread Michael Hope
On 8 June 2012 15:20, Hans-Peter Nilsson wrote: >> From: Michael Hope >> Date: Fri, 8 Jun 2012 04:42:30 +0200 > >> On 8 June 2012 12:15, Hans-Peter Nilsson wrote: >> > The "some source >> > codes" was in the analyzed case a strcpy of a five-byt

Re: [RFA:] Caveat for ARM in gcc-4.7/changes.html: unaligned accesses

2012-06-10 Thread Michael Hope
On 8 June 2012 16:53, Hans-Peter Nilsson wrote: >> From: Hans-Peter Nilsson >> Date: Fri, 8 Jun 2012 06:29:04 +0200 > >> > From: Michael Hope >> > Date: Fri, 8 Jun 2012 05:50:52 +0200 >> >  The combination of >> > older Linux ARM kernel

Re: [RFA:] Caveat for ARM in gcc-4.7/changes.html: unaligned accesses

2012-06-12 Thread Michael Hope
On 13 June 2012 02:32, Hans-Peter Nilsson wrote: >> From: Hans-Peter Nilsson >> Date: Mon, 11 Jun 2012 00:59:57 +0200 > >> > From: Michael Hope >> > Date: Mon, 11 Jun 2012 00:04:19 +0200 >> >> > On 8 June 2012 16:53, Hans-Peter Nilsso

Re: [PATCH][ARM] -m{cpu,tune,arch}=native

2011-08-28 Thread Michael Hope
On Sat, Aug 27, 2011 at 3:19 AM, Andrew Stubbs wrote: > Hi all, > > This patch adds support for -mcpu=native, -mtune=native, and -march=native > for ARM Linux hosts. > > So far, it only recognises Cortex-A8 and Cortex-A9, so I really need to find > out what the magic part numbers are for other cpu

Re: [PATCH][ARM] -m{cpu,tune,arch}=native

2011-08-30 Thread Michael Hope
On Tue, Aug 30, 2011 at 10:47 PM, Stubbs, Andrew wrote: > On 29/08/11 04:29, Michael Hope wrote: >> On Sat, Aug 27, 2011 at 3:19 AM, Andrew Stubbs  wrote: >>> Hi all, >>> >>> This patch adds support for -mcpu=native, -mtune=native, and -march=native >>

Re: [patch, arm] Fix PR target/50305 (arm_legitimize_reload_address problem)

2011-09-11 Thread Michael Hope
On Sat, Sep 10, 2011 at 5:04 AM, Ulrich Weigand wrote: > Hello, > > the problem in PR 50305 turned out to be caused by the ARM back-end > LEGITIMIZE_RELOAD_ADDRESS implementation. Interesting the fault goes away with -mfpu=neon, perhaps due to the DI mode operations getting pushed out into NEON r

[PATCH, ARM, 4.6] backport PR pch/45979

2012-03-15 Thread Michael Hope
/ 2012-03-16 Michael Hope Backport from mainline 2011-05-05 Michael Hope PR pch/45979 * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __ARM_EABI__ hosts. diff --git a/gcc/config/host-linux.c b/gcc/config/host-linux.c index 47ce3ea..ec61055 100644

Re: [PATCH] ARM: Use different linker path for hardfloat ABI

2012-04-02 Thread Michael Hope
r uClibc and Bionic by always using the GLIBC loader in hard float mode. The final line in the spec is missing a '=hard' and always adds /lib/ld-linux.so.3. How about: 2012-04-03 Michael Hope * config/arm/linux-eabi.h (GLIBC_DYNAMIC_LINKER_HARD_FLOAT): Define. (GLIBC

Re: [PATCH] ARM: Use different linker path for hardfloat ABI

2012-04-03 Thread Michael Hope
On 4 April 2012 04:17, Andrew Haley wrote: > On 04/03/2012 05:09 PM, Richard Earnshaw wrote: >> On 03/04/12 12:01, Jakub Jelinek wrote: >>> On Tue, Apr 03, 2012 at 11:45:30AM +0100, Richard Earnshaw wrote: If, so then there's only one way to sort out this mess. /lib/arm-linux-gnueab

Re: [PATCH] ARM: Use different linker path for hardfloat ABI

2012-04-03 Thread Michael Hope
On 4 April 2012 11:11, Jakub Jelinek wrote: > On Wed, Apr 04, 2012 at 09:18:59AM +1200, Michael Hope wrote: >> >> The subdirectories could be called fred and jim and it would still work. >> >>  The only thing required is that this part of the naming scheme be >&

Re: [PATCH] ARM: Use different linker path for hardfloat ABI

2012-04-03 Thread Michael Hope
2012/4/4 Paulo César Pereira de Andrade : > Em 3 de abril de 2012 20:48, Michael Hope escreveu: >> Yip, as is Ubuntu Precise, Debian unstable, and a skew of Gentoo. >> None have been released yet.  Here's my understanding: >> >> Fedora 17: >>  * ARM is

Re: [PATCH] ARM: Use different linker path for hardfloat ABI

2012-04-03 Thread Michael Hope
On 4 April 2012 10:56, Joseph S. Myers wrote: > On Tue, 3 Apr 2012, Michael Hope wrote: > >> +#define GLIBC_DYNAMIC_LINKER \ >> +   "%{mhard-float:" GLIBC_DYNAMIC_LINKER_HARD_FLOAT "} \ >> +    %{mfloat-abi=hard:" GLIBC_DYNAMIC_LINKER_HARD_FLOAT &q

Re: [PATCH] ARM: Use different linker path for hardfloat ABI

2012-04-04 Thread Michael Hope
On 4 April 2012 18:54, Jakub Jelinek wrote: > On Wed, Apr 04, 2012 at 01:34:30PM +1200, Michael Hope wrote: >> >  I did two ports of Mandriva to armv7. One of my choice to use softfp, >> > and another hardfp port to be compatible with other distros. But other >> &

Re: [PATCH] ARM: Use different linker path for hardfloat ABI

2012-04-04 Thread Michael Hope
On 4 April 2012 21:06, Joseph S. Myers wrote: > On Wed, 4 Apr 2012, Michael Hope wrote: > >> The tricky one is new GCC with old GLIBC.  GCC may have to do a >> configure time test and fall back to /lib/ld-linux.so.3 if the hard >> float loader is missing. > > I don&

Re: [PATCH] ARM: Use different linker path for hardfloat ABI

2012-04-04 Thread Michael Hope
On 5 April 2012 12:07, Joseph S. Myers wrote: > On Thu, 5 Apr 2012, Michael Hope wrote: > >> > I don't think that's appropriate for ABI issues.  If a different dynamic >> > linker name is specified, GCC should use it unconditionally (and require >> > ne

Re: [branches/google/gcc-4_6] Backported r179661 and 179662 from mainline. (issue 5989043)

2012-04-04 Thread Michael Hope
On 5 April 2012 15:56, wrote: > Reviewers: Diego Novillo, jingyu, davidxl, > > Message: > Please take a look at this patch and tell me if it's OK for > branches/google/gcc-4_6. > > Description: > Backported the following patch from trunk: > > 2011-10-07  Andrew Stubbs   > >    gcc/ >    * config/

Re: Phone call (was Re: Armhf dynamic linker path)

2012-04-11 Thread Michael Hope
On 12 April 2012 10:38, Steve McIntyre wrote: > On Wed, Apr 11, 2012 at 02:06:09AM +0100, Steve McIntyre wrote: >> >>And here's the details as promised. >> >>I've started a wiki page at >> >>https://wiki.linaro.org/OfficeofCTO/HardFloat/LinkerPathCallApr2012 >> >>with a strawman agenda for now, an

Re: Phone call (was Re: Armhf dynamic linker path)

2012-04-11 Thread Michael Hope
2012/4/12 Paulo César Pereira de Andrade : > Em 11 de abril de 2012 20:22, Michael Hope escreveu: >> On 12 April 2012 10:38, Steve McIntyre wrote: >>> On Wed, Apr 11, 2012 at 02:06:09AM +0100, Steve McIntyre wrote: >>>> >>>>And here's the details as

Re: Phone call (was Re: Armhf dynamic linker path)

2012-04-11 Thread Michael Hope
On 12 April 2012 12:38, Wookey wrote: > +++ Michael Hope [2012-04-12 12:16 +1200]: >> 2012/4/12 Paulo César Pereira de Andrade >> : > >> >> All good.  My vote is for /lib/ld-arm-linux-gnueabihf.so.3 as it: >> >  Sorry for more bikeshedding, >> > /l

Re: Phone call (was Re: Armhf dynamic linker path)

2012-04-11 Thread Michael Hope
2012/4/12 Paulo César Pereira de Andrade : > Em 11 de abril de 2012 21:16, Michael Hope escreveu: >> 2012/4/12 Paulo César Pereira de Andrade >> : >>> Em 11 de abril de 2012 20:22, Michael Hope >>> escreveu: >>>> On 12 April 2012 10:38, Steve McIntyr

[PATCH v2] ARM: Use different linker path for hardfloat ABI

2012-04-22 Thread Michael Hope
60.html [2] http://sourceware.org/ml/libc-ports/2012-04/msg00064.html 2012-04-23 Michael Hope * config/arm/linux-eabi.h (GLIBC_DYNAMIC_LINKER_HARD_FLOAT): Define. (GLIBC_DYNAMIC_LINKER_SOFT_FLOAT): Define. (GLIBC_DYNAMIC_LINKER): Redefine to use the hard float path. di

Re: [PATCH v2] ARM: Use different linker path for hardfloat ABI

2012-04-23 Thread Michael Hope
On 24 April 2012 03:35, Richard Earnshaw wrote: > On 22/04/12 23:20, Michael Hope wrote: >> Change the dynamic linker path for ARM hard float executables. >> Matches the path discussed and agreed on last week[1].  Carlos will >> follow up with the matching patch to GLIBC[2].

Re: divide 64-bit by constant for 32-bit target machines

2012-04-23 Thread Michael Hope
On 21 April 2012 00:57, Dinar Temirbulatov wrote: > Hi, > Here is the patch that adds support for divide 64-bit by constant for > 32-bit target machines, this patch was tested on arm-7a with no new > regressions, also I am not sure on how to avoid for example i686 > targets since div operation the

Re: [PATCH,ARM] Improve peepholes for LDM with commutative operators

2012-02-29 Thread Michael Hope
On Thu, Mar 1, 2012 at 3:20 AM, Greta Yorsh wrote: > I'm attaching a new version of the patch. Fixed all comments and retested. > No regression on qemu --with-cpu cortex-a9. I assume that on the Cortex-A9 this generates a LDM instead of an expensive LDRD. For reference, a tight load loop takes 2

[PATCH, ARM, libgcc] Enable longlong.h inline assembly for Thumb-2

2012-03-07 Thread Michael Hope
Hi there, This patch enables the ARM inline assembly 64 bit add, subtract, and multiply instructions in libgcc when compiling for Thumb-2. The existing code enables them for ARM mode as Thumb-1 is missing the encodings. OK for 4.8? -- Michael ChangeLog: 2012-03-08 Michael Hope

Re: [RFC, ARM] Convert thumb1 prologue completely to rtl

2011-06-19 Thread Michael Hope
On Sun, Jun 19, 2011 at 7:02 AM, Richard Henderson wrote: > I couldn't find anything terribly tricky about the conversion. > > The existing push_mult pattern would service thumb1 with just > a tweak or two to the memory predicate and the length. > > The existing emit_multi_reg_push wasn't set up t

[PATCH, ARM] fix PR pch/45979 regression on ARM

2011-05-01 Thread Michael Hope
Ubuntu 2.6.35 kernel. Bootstraps OK and clears all of the PCH testsuite failures. Note that this change is equivalent to Mikael Pettersson's patch at: http://gcc.gnu.org/ml/gcc-patches/2010-10/msg02252.html OK for trunk? -- Michael gcc/ 2011-05-02 Michael Hope PR pch/