aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@arm.com>2021-10-13 09:16:17 +0000
committerChristophe Lyon <christophe.lyon@foss.st.com>2022-02-22 15:55:06 +0000
commit0d0aaea105f6b5ddd9b4763e4cbd16ef65a74cb9 (patch)
tree8a4f5ba05534c32b3b3ecc13212613d63cffbd6f
parent6769084fdf159fb5c0fd20c8d28cfef5b2126cb0 (diff)
downloadgcc-0d0aaea105f6b5ddd9b4763e4cbd16ef65a74cb9.zip
gcc-0d0aaea105f6b5ddd9b4763e4cbd16ef65a74cb9.tar.gz
gcc-0d0aaea105f6b5ddd9b4763e4cbd16ef65a74cb9.tar.bz2
arm: Fix mve_vmvnq_n_<supf><mode> argument mode
The vmvnq_n* intrinsics and have [u]int[16|32]_t arguments, so use <V_elem> iterator instead of HI in mve_vmvnq_n_<supf><mode>. Most of the work of this patch series was carried out while I was working at STMicroelectronics as a Linaro assignee. 2022-02-22 Christophe Lyon <christophe.lyon@arm.com> gcc/ * config/arm/mve.md (mve_vmvnq_n_<supf><mode>): Use V_elem mode for operand 1.
-rw-r--r--gcc/config/arm/mve.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/arm/mve.md b/gcc/config/arm/mve.md
index 171dd38..5c3b34d 100644
--- a/gcc/config/arm/mve.md
+++ b/gcc/config/arm/mve.md
@@ -617,7 +617,7 @@
(define_insn "mve_vmvnq_n_<supf><mode>"
[
(set (match_operand:MVE_5 0 "s_register_operand" "=w")
- (unspec:MVE_5 [(match_operand:HI 1 "immediate_operand" "i")]
+ (unspec:MVE_5 [(match_operand:<V_elem> 1 "immediate_operand" "i")]
VMVNQ_N))
]
"TARGET_HAVE_MVE"