[0/5] Improvements to vldN and vstN intrinsics

2011-04-20 Thread Richard Sandiford
I've just submitted a merge request for the vldN and vstN intrinsic improvements. There are five related patches, so I thought it might be easier to review the merge if I posted the individual changes here. See: http://www.mail-archive.com/linaro-toolchain@lists.linaro.org/msg00969.html for

[1/5] Improve output of vld3q and vld4q

2011-04-20 Thread Richard Sandiford
This first patch optimises the output for vld3q and vld4q functions. These functions expand into two individual vld3 and vld4 instructions, with each instruction setting one (interleaved) half of the output register. The problem was that both instructions treated the output register as an input, w

[2/5] Remodel the vldN and vstN patterns

2011-04-20 Thread Richard Sandiford
The patterns for the Neon vld and vst intrinsics used the following sort of construct to refer to memory: (mem:FOO (match_operand:SI X "register_operand" "r")) This patch changes them to use: (match_operand:FOO' X "neon_struct_operand" "(=)Um") instead. This allows the loads to use pos

[3/5] Allow arrays of vectors to be stored in registers

2011-04-20 Thread Richard Sandiford
This patch allows the target to override MAX_FIXED_MODE_SIZE for specific kinds of array. We can then give a non-BLK mode to things like uint32x2x4_t, which in turn allows them to be stored in registers. The patch is a backport of: http://gcc.gnu.org/ml/gcc-patches/2011-03/msg02192.html whi

[4/5] Convert LEGITIMATE_CONSTANT_P into a hook and add a more argument

2011-04-20 Thread Richard Sandiford
This patch converts LEGITIMATE_CONSTANT_P into a target hook and passes along the mode of the constant. This can then be used by 5/5. The patch is a version of: http://gcc.gnu.org/ml/gcc-patches/2011-04/msg00195.html which is still pending review after two pings. It seems pretty simple tho

[5/5] Fix PR target/46329

2011-04-20 Thread Richard Sandiford
This patch handles moves involving structure constants. It's a backport of: http://gcc.gnu.org/ml/gcc-patches/2011-04/msg00200.html which Richard Earnshaw has approved, but which cannot be applied yet because it depends on 4/5. The patch is needed because 3/5 would otherwise expose new inst

Re: Question on compressed vmlinux .got and .bss sections

2011-04-20 Thread Dave Martin
On Tue, Apr 19, 2011 at 01:33:12PM -0400, Nicolas Pitre wrote: > On Wed, 20 Apr 2011, Shawn Guo wrote: > > > On Tue, Apr 19, 2011 at 04:23:09PM +0100, Dave Martin wrote: > > > Hopefully this explains what's going on, but what are you trying > > > to achieve exactly? > > > > > Thanks a ton, Dave.

Re: Question on compressed vmlinux .got and .bss sections

2011-04-20 Thread Nicolas Pitre
On Wed, 20 Apr 2011, Dave Martin wrote: > On Tue, Apr 19, 2011 at 01:33:12PM -0400, Nicolas Pitre wrote: > > You must not use static variable in the decompressor. For one thing, > > that breaks the ability to XIP the decompressor code and move writable > > data elsewhere. > > > > So the fix is

Re: Question on compressed vmlinux .got and .bss sections

2011-04-20 Thread Dave Martin
Hi, On Wed, Apr 20, 2011 at 1:42 PM, Nicolas Pitre wrote: > On Wed, 20 Apr 2011, Dave Martin wrote: > >> On Tue, Apr 19, 2011 at 01:33:12PM -0400, Nicolas Pitre wrote: >> > You must not use static variable in the decompressor.  For one thing, >> > that breaks the ability to XIP the decompressor c

Re: Question on compressed vmlinux .got and .bss sections

2011-04-20 Thread Nicolas Pitre
On Wed, 20 Apr 2011, Dave Martin wrote: > Hi, > > On Wed, Apr 20, 2011 at 1:42 PM, Nicolas Pitre > wrote: > > On Wed, 20 Apr 2011, Dave Martin wrote: > > > >> On Tue, Apr 19, 2011 at 01:33:12PM -0400, Nicolas Pitre wrote: > >> > You must not use static variable in the decompressor.  For one thi

[OT] ti-omap-tools - script for setting up DVSDK 3 with various toolchains

2011-04-20 Thread AJ ONeal
Here's a script for installing TI's DVSDK 3: https://bitbucket.org/thayne/ti-omap-tools/src Works with - CodeSourcery - OpenEmbedded - Linaro It will download the bazillion dependencies scattered across TI's site and makes it easier to gut the DVSDK's hard-coded paths to work for your

Linaro GCC 4.5 and 4.6 2011-04 released

2011-04-20 Thread Michael Hope
The Linaro Toolchain Working Group is pleased to announce the release of both Linaro GCC 4.5 and Linaro GCC 4.6. Linaro GCC 4.5 2011.04 is the ninth release in the 4.5 series. Based off the latest GCC 4.5.2+svn171921, it adds new optimisations, support for Android, and fixes for many of the issue

Linaro GDB 7.2 2011-04 released

2011-04-20 Thread Michael Hope
The Linaro Toolchain Working Group is pleased to announce the release of Linaro GDB 7.2. Linaro GDB 7.2 2011.04 is the fifth release in the 7.2 series. Based off the latest GDB 7.2, it includes a number of ARM-focused bug fixes. This release fixes: * LP: #684218 Failure to backtrace out of glibc