From 80d18bad0099ba81ed1fc2905dfcb3760988f59e Mon Sep 17 00:00:00 2001 From: belagod Date: Thu, 7 Oct 2010 16:00:06 +0000 Subject: [PATCH] 2010-10-07 Tejas Belagod PR target/45805 * config/arm/neon.md (neon_unpack_): Add 'w' to constraint, add register specifier in instruction template. (neon_vec_pack_trunc_): Likewise. (neon_vec_mult_): Add register specifier to instruction template. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165122 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 8 ++++++++ gcc/config/arm/neon.md | 10 +++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 87391d9..d088f60 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2010-10-07 Tejas Belagod + + * config/arm/neon.md (neon_unpack_): Add 'w' to + constraint, add register specifier in instruction template. + (neon_vec_pack_trunc_): Likewise. + (neon_vec_mult_): Add register specifier to + instruction template. + 2010-10-07 Dave Korn * config.gcc (c_target_objs)[i?86-*-pe|i?86-*-cygwin*]: Don't add diff --git a/gcc/config/arm/neon.md b/gcc/config/arm/neon.md index cd91573b..c788f16 100644 --- a/gcc/config/arm/neon.md +++ b/gcc/config/arm/neon.md @@ -5361,9 +5361,9 @@ ;; Vectorize for non-neon-quad case (define_insn "neon_unpack_" [(set (match_operand: 0 "register_operand" "=w") - (SE: (match_operand:VDI 1 "register_operand" "")))] + (SE: (match_operand:VDI 1 "register_operand" "w")))] "TARGET_NEON" - "vmovl. %q0, %1" + "vmovl. %q0, %P1" [(set_attr "neon_type" "neon_shift_1")] ) @@ -5400,7 +5400,7 @@ (SE: (match_operand:VDI 2 "register_operand" "w"))))] "TARGET_NEON" - "vmull. %q0, %1, %2" + "vmull. %q0, %P1, %P2" [(set_attr "neon_type" "neon_shift_1")] ) @@ -5449,9 +5449,9 @@ ;; For the non-quad case. (define_insn "neon_vec_pack_trunc_" [(set (match_operand: 0 "register_operand" "=w") - (truncate: (match_operand:VN 1 "register_operand" "")))] + (truncate: (match_operand:VN 1 "register_operand" "w")))] "TARGET_NEON" - "vmovn.i\t%0, %q1" + "vmovn.i\t%P0, %q1" [(set_attr "neon_type" "neon_shift_1")] ) -- 2.7.4