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 jul...@codesourcery.com wrote: On Wed, 28 Sep 2011 14:33:17 +0100 Ramana Radhakrishnan ramana.radhakrish...@linaro.org wrote: On 6 May 2011 14:13, Julian Brown jul...@codesourcery.com wrote: Hi, This is the second of two patches to add

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

2012-04-03 Thread Michael Hope
On 4 April 2012 04:17, Andrew Haley a...@redhat.com 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.

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 paulo.cesar.pereira.de.andr...@gmail.com: Em 3 de abril de 2012 20:48, Michael Hope michael.h...@linaro.org escreveu: snip Yip, as is Ubuntu Precise, Debian unstable, and a skew of Gentoo. None have been released yet.  Here's my understanding: Fedora

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 jos...@codesourcery.com 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 } \ +    %{!mfloat-abi=hard:%{!mhard

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

2012-04-04 Thread Michael Hope
On 4 April 2012 18:54, Jakub Jelinek ja...@redhat.com 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 than a previous armv5 port

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 jos...@codesourcery.com 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't think that's

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 jos...@codesourcery.com 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 new enough glibc or a glibc

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, asha...@chromium.org 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  

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

2012-04-11 Thread Michael Hope
On 12 April 2012 10:38, Steve McIntyre steve.mcint...@linaro.org 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

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

2012-04-11 Thread Michael Hope
2012/4/12 Paulo César Pereira de Andrade paulo.cesar.pereira.de.andr...@gmail.com: Em 11 de abril de 2012 20:22, Michael Hope michael.h...@linaro.org escreveu: On 12 April 2012 10:38, Steve McIntyre steve.mcint...@linaro.org wrote: On Wed, Apr 11, 2012 at 02:06:09AM +0100, Steve McIntyre wrote

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

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

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

2012-04-11 Thread Michael Hope
2012/4/12 Paulo César Pereira de Andrade paulo.cesar.pereira.de.andr...@gmail.com: Em 11 de abril de 2012 21:16, Michael Hope michael.h...@linaro.org escreveu: 2012/4/12 Paulo César Pereira de Andrade paulo.cesar.pereira.de.andr...@gmail.com: Em 11 de abril de 2012 20:22, Michael Hope

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

2012-04-22 Thread Michael Hope
] http://sourceware.org/ml/libc-ports/2012-04/msg00064.html 2012-04-23 Michael Hope michael.h...@linaro.org * 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

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 rearn...@arm.com 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].  I'm happy

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 dtemirbula...@gmail.com 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

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 car...@systemhalted.org wrote: On Mon, Apr 23, 2012 at 5:36 PM, Michael Hope michael.h...@linaro.org wrote: 2012-04-24  Michael Hope  michael.h...@linaro.org            Richard Earnshaw  rearn...@arm.com        * config/arm/linux-eabi.h

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 rearn...@arm.com wrote: On 27/04/12 00:27, Michael Hope wrote: On 27 April 2012 08:20, Carlos O'Donell car...@systemhalted.org wrote: On Mon, Apr 23, 2012 at 5:36 PM, Michael Hope michael.h...@linaro.org wrote: 2012-04-24  Michael Hope  michael.h

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 l...@redhat.com wrote: On 04/30/2012 03:47 PM, Michael Hope wrote: 2012-04-27  Michael Hopemichael.h...@linaro.org       * config/arm/linux-eabi.h (GLIBC_DYNAMIC_LINKER): Pick the loader       using a spec rule. Michael, can you try this patch please

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

2012-05-20 Thread Michael Hope
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 michael.h...@linaro.org PR 53170 Backport from mainline 2011-11-08 Jason Merrill ja...@redhat.com * lib/target

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 error in target selector

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 vap...@gentoo.org 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

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 paolo.carl...@oracle.com 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 the 'target c++11' selector which doesn't exist in 4.6

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

2012-07-24 Thread Michael Hope
as expected. OK for 4.7? -- Michael 2012-07-25 Michael Hope michael.h...@linaro.org Backport from mainline r186389: 2012-04-12 Andreas Schwab sch...@linux-m68k.org * testsuite/Makefile.am (check_DEJAGNUnormal0): Run prettyprinters.exp. * testsuite

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. Tested

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 jul...@codesourcery.com wrote: On Thu, 16 Aug 2012 19:56:52 +0100 Ramana Radhakrishnan ramra...@arm.com wrote: On 07/24/12 13:27, Julian Brown wrote: On Fri, 20 Jul 2012 11:15:27 +0100 Julian Brown jul...@codesourcery.com wrote: Anyway: this

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 hans-peter.nils...@axis.com 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

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 hans-peter.nils...@axis.com wrote: From: Michael Hope michael.h...@linaro.org Date: Fri, 8 Jun 2012 04:42:30 +0200 On 8 June 2012 12:15, Hans-Peter Nilsson hans-peter.nils...@axis.com wrote: The some source codes was in the analyzed case a strcpy

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 hans-peter.nils...@axis.com wrote: From: Hans-Peter Nilsson h...@axis.com Date: Fri, 8 Jun 2012 06:29:04 +0200 From: Michael Hope michael.h...@linaro.org Date: Fri, 8 Jun 2012 05:50:52 +0200  The combination of older Linux ARM kernels and GCC 4.7

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 hans-peter.nils...@axis.com wrote: From: Hans-Peter Nilsson h...@axis.com Date: Mon, 11 Jun 2012 00:59:57 +0200 From: Michael Hope michael.h...@linaro.org Date: Mon, 11 Jun 2012 00:04:19 +0200 On 8 June 2012 16:53, Hans-Peter Nilsson hans

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 car...@google.com 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.

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

2012-07-02 Thread Michael Hope
/testsuite/ 2012-07-03 Michael Hope michael.h...@linaro.org 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

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 matthew.gretton-d...@arm.com 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?

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

2011-05-01 Thread Michael Hope
with a 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 michael.h...@linaro.org

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 a...@codesourcery.com 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

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 andrew_stu...@mentor.com wrote: On 29/08/11 04:29, Michael Hope wrote: On Sat, Aug 27, 2011 at 3:19 AM, Andrew Stubbsa...@codesourcery.com  wrote: Hi all, This patch adds support for -mcpu=native, -mtune=native, and -march=native for ARM Linux

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 uweig...@de.ibm.com 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

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 greta.yo...@arm.com 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

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

2012-03-15 Thread Michael Hope
/ 2012-03-16 Michael Hope michael.h...@linaro.org Backport from mainline 2011-05-05 Michael Hope michael.h...@linaro.org 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

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

2012-04-02 Thread Michael Hope
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 michael.h...@linaro.org * config/arm/linux-eabi.h (GLIBC_DYNAMIC_LINKER_HARD_FLOAT): Define. (GLIBC_DYNAMIC_LINKER): Redefine

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 r...@twiddle.net 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

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 rearn...@arm.com 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 described in