aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/aarch64/aarch64-simd.md
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2017-06-02 15:03:54 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2017-06-02 15:03:54 +0000
commitb160939bf3cd072e1c7a05bbbe221040f7670df2 (patch)
treef3303171cd508a8bbc26bdd003e6c0b98368b77f /gcc/config/aarch64/aarch64-simd.md
parentd65d1bd970c3008e70a6418d2fdaace3f4f2e581 (diff)
downloadgcc-b160939bf3cd072e1c7a05bbbe221040f7670df2.zip
gcc-b160939bf3cd072e1c7a05bbbe221040f7670df2.tar.gz
gcc-b160939bf3cd072e1c7a05bbbe221040f7670df2.tar.bz2
[AArch64] Add HF vector modes to lane-to-lane INS pattern
* config/aarch64/aarch64-simd.md (*aarch64_simd_vec_copy_lane<mode>): Use VALL_F16 iterator rather than VALL. * gcc.target/aarch64/hfmode_ins_1.c: New test. From-SVN: r248835
Diffstat (limited to 'gcc/config/aarch64/aarch64-simd.md')
-rw-r--r--gcc/config/aarch64/aarch64-simd.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/aarch64/aarch64-simd.md b/gcc/config/aarch64/aarch64-simd.md
index 6852f39..693b476 100644
--- a/gcc/config/aarch64/aarch64-simd.md
+++ b/gcc/config/aarch64/aarch64-simd.md
@@ -565,14 +565,14 @@
)
(define_insn "*aarch64_simd_vec_copy_lane<mode>"
- [(set (match_operand:VALL 0 "register_operand" "=w")
- (vec_merge:VALL
- (vec_duplicate:VALL
+ [(set (match_operand:VALL_F16 0 "register_operand" "=w")
+ (vec_merge:VALL_F16
+ (vec_duplicate:VALL_F16
(vec_select:<VEL>
- (match_operand:VALL 3 "register_operand" "w")
+ (match_operand:VALL_F16 3 "register_operand" "w")
(parallel
[(match_operand:SI 4 "immediate_operand" "i")])))
- (match_operand:VALL 1 "register_operand" "0")
+ (match_operand:VALL_F16 1 "register_operand" "0")
(match_operand:SI 2 "immediate_operand" "i")))]
"TARGET_SIMD"
{