diff options
author | Joseph Myers <joseph@codesourcery.com> | 2009-10-19 16:22:15 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2009-10-19 16:22:15 +0100 |
commit | 5728868b825368b02d73a4474c23b0016850af3c (patch) | |
tree | 96505bd19d105cb2157f329de264a3b2a50c62ff /gcc/config/arm | |
parent | 21750c78c4afdc2ca2baa639bfc19365a8487e22 (diff) | |
download | gcc-5728868b825368b02d73a4474c23b0016850af3c.zip gcc-5728868b825368b02d73a4474c23b0016850af3c.tar.gz gcc-5728868b825368b02d73a4474c23b0016850af3c.tar.bz2 |
arm.c (output_move_neon): Use DImode in call to adjust_address.
* config/arm/arm.c (output_move_neon): Use DImode in call to
adjust_address.
testsuite:
* gcc.target/arm/neon-thumb2-move.c: New test.
From-SVN: r152977
Diffstat (limited to 'gcc/config/arm')
-rw-r--r-- | gcc/config/arm/arm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 3aff8e7..e013dc2 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -12269,7 +12269,7 @@ output_move_neon (rtx *operands) { /* We're only using DImode here because it's a convenient size. */ ops[0] = gen_rtx_REG (DImode, REGNO (reg) + 2 * i); - ops[1] = adjust_address (mem, SImode, 8 * i); + ops[1] = adjust_address (mem, DImode, 8 * i); if (reg_overlap_mentioned_p (ops[0], mem)) { gcc_assert (overlap == -1); |