aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinath Parvathaneni <srinath.parvathaneni@arm.com>2020-04-27 16:50:58 +0100
committerSrinath Parvathaneni <srinath.parvathaneni@arm.com>2020-04-27 16:57:17 +0100
commit3d537943fbdbaa07fdf31555e7f0d6454e4dc12a (patch)
tree6cbed50f7b1a5d8dfe16fa472282a21a281cbc46
parent26d76be7af6db75aaab662f4e93395f4ff8acb38 (diff)
downloadgcc-3d537943fbdbaa07fdf31555e7f0d6454e4dc12a.zip
gcc-3d537943fbdbaa07fdf31555e7f0d6454e4dc12a.tar.gz
gcc-3d537943fbdbaa07fdf31555e7f0d6454e4dc12a.tar.bz2
[GCC][PATCH][ARM]: Change arm constraint name from "e" to "Te".
This patches changes the constraint "e" to "Te". gcc/ChangeLog: 2020-04-24 Srinath Parvathaneni <srinath.parvathaneni@arm.com> * config/arm/constraints.md (e): Remove constraint. (Te): Define constraint. * config/arm/mve.md (vaddvq_<supf><mode>): Modify constraint in operand 0 from "e" to "Te". (vaddvaq_<supf><mode>): Likewise. (vaddvq_p_<supf><mode>): Likewise. (vmladavq_<supf><mode>): Likewise. (vmladavxq_s<mode>): Likewise. (vmlsdavq_s<mode>): Likewise. (vmlsdavxq_s<mode>): Likewise. (vaddvaq_p_<supf><mode>): Likewise. (vmladavaq_<supf><mode>): Likewise. (vmladavq_p_<supf><mode>): Likewise. (vmladavxq_p_s<mode>): Likewise. (vmlsdavq_p_s<mode>): Likewise. (vmlsdavxq_p_s<mode>): Likewise. (vmlsdavaxq_s<mode>): Likewise. (vmlsdavaq_s<mode>): Likewise. (vmladavaxq_s<mode>): Likewise. (vmladavaq_p_<supf><mode>): Likewise. (vmladavaxq_p_s<mode>): Likewise. (vmlsdavaq_p_s<mode>): Likewise. (vmlsdavaxq_p_s<mode>): Likewise.
-rw-r--r--gcc/ChangeLog26
-rw-r--r--gcc/config/arm/constraints.md6
-rw-r--r--gcc/config/arm/mve.md56
3 files changed, 57 insertions, 31 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0027071..ecffa44 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,29 @@
+2020-04-27 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
+
+ * config/arm/constraints.md (e): Remove constraint.
+ (Te): Define constraint.
+ * config/arm/mve.md (vaddvq_<supf><mode>): Modify constraint in
+ operand 0 from "e" to "Te".
+ (vaddvaq_<supf><mode>): Likewise.
+ (vaddvq_p_<supf><mode>): Likewise.
+ (vmladavq_<supf><mode>): Likewise.
+ (vmladavxq_s<mode>): Likewise.
+ (vmlsdavq_s<mode>): Likewise.
+ (vmlsdavxq_s<mode>): Likewise.
+ (vaddvaq_p_<supf><mode>): Likewise.
+ (vmladavaq_<supf><mode>): Likewise.
+ (vmladavq_p_<supf><mode>): Likewise.
+ (vmladavxq_p_s<mode>): Likewise.
+ (vmlsdavq_p_s<mode>): Likewise.
+ (vmlsdavxq_p_s<mode>): Likewise.
+ (vmlsdavaxq_s<mode>): Likewise.
+ (vmlsdavaq_s<mode>): Likewise.
+ (vmladavaxq_s<mode>): Likewise.
+ (vmladavaq_p_<supf><mode>): Likewise.
+ (vmladavaxq_p_s<mode>): Likewise.
+ (vmlsdavaq_p_s<mode>): Likewise.
+ (vmlsdavaxq_p_s<mode>): Likewise.
+
2020-04-27 Andre Vieira <andre.simoesdiasvieira@arm.com>
* config/arm/arm.c (output_move_neon): Only get the first operand if
diff --git a/gcc/config/arm/constraints.md b/gcc/config/arm/constraints.md
index 41a85e2..fed6c7c 100644
--- a/gcc/config/arm/constraints.md
+++ b/gcc/config/arm/constraints.md
@@ -32,7 +32,7 @@
;; The following multi-letter normal constraints have been used:
;; in ARM/Thumb-2 state: Da, Db, Dc, Dd, Dn, DN, Dm, Dl, DL, Do, Dv, Dy, Di,
-;; Dt, Dp, Dz, Tu
+;; Dt, Dp, Dz, Tu, Te
;; in Thumb-1 state: Pa, Pb, Pc, Pd, Pe
;; in Thumb-2 state: Ha, Pj, PJ, Ps, Pt, Pu, Pv, Pw, Px, Py, Pz, Rd, Rf, Rb, Ra,
;; Rg, Ri
@@ -50,8 +50,8 @@
(define_register_constraint "Uf" "TARGET_HAVE_MVE ? VFPCC_REG : NO_REGS"
"MVE FPCCR register")
-(define_register_constraint "e" "TARGET_HAVE_MVE ? EVEN_REG : NO_REGS"
- "MVE EVEN registers @code{r0}, @code{r2}, @code{r4}, @code{r6}, @code{r8},
+(define_register_constraint "Te" "TARGET_HAVE_MVE ? EVEN_REG : NO_REGS"
+ "EVEN core registers @code{r0}, @code{r2}, @code{r4}, @code{r6}, @code{r8},
@code{r10}, @code{r12}, @code{r14}")
(define_constraint "Rd"
diff --git a/gcc/config/arm/mve.md b/gcc/config/arm/mve.md
index 9cb18ef..f43dabb 100644
--- a/gcc/config/arm/mve.md
+++ b/gcc/config/arm/mve.md
@@ -1102,7 +1102,7 @@
;;
(define_insn "mve_vaddvq_<supf><mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:MVE_2 1 "s_register_operand" "w")]
VADDVQ))
]
@@ -1477,7 +1477,7 @@
;;
(define_insn "mve_vaddvaq_<supf><mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:SI 1 "s_register_operand" "0")
(match_operand:MVE_2 2 "s_register_operand" "w")]
VADDVAQ))
@@ -1492,7 +1492,7 @@
;;
(define_insn "mve_vaddvq_p_<supf><mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:MVE_2 1 "s_register_operand" "w")
(match_operand:HI 2 "vpr_register_operand" "Up")]
VADDVQ_P))
@@ -2032,7 +2032,7 @@
;;
(define_insn "mve_vmladavq_<supf><mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:MVE_2 1 "s_register_operand" "w")
(match_operand:MVE_2 2 "s_register_operand" "w")]
VMLADAVQ))
@@ -2047,7 +2047,7 @@
;;
(define_insn "mve_vmladavxq_s<mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:MVE_2 1 "s_register_operand" "w")
(match_operand:MVE_2 2 "s_register_operand" "w")]
VMLADAVXQ_S))
@@ -2062,7 +2062,7 @@
;;
(define_insn "mve_vmlsdavq_s<mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:MVE_2 1 "s_register_operand" "w")
(match_operand:MVE_2 2 "s_register_operand" "w")]
VMLSDAVQ_S))
@@ -2077,7 +2077,7 @@
;;
(define_insn "mve_vmlsdavxq_s<mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:MVE_2 1 "s_register_operand" "w")
(match_operand:MVE_2 2 "s_register_operand" "w")]
VMLSDAVXQ_S))
@@ -3685,7 +3685,7 @@
;;
(define_insn "mve_vaddvaq_p_<supf><mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:SI 1 "s_register_operand" "0")
(match_operand:MVE_2 2 "s_register_operand" "w")
(match_operand:HI 3 "vpr_register_operand" "Up")]
@@ -4101,7 +4101,7 @@
;;
(define_insn "mve_vmladavaq_<supf><mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:SI 1 "s_register_operand" "0")
(match_operand:MVE_2 2 "s_register_operand" "w")
(match_operand:MVE_2 3 "s_register_operand" "w")]
@@ -4117,7 +4117,7 @@
;;
(define_insn "mve_vmladavq_p_<supf><mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:MVE_2 1 "s_register_operand" "w")
(match_operand:MVE_2 2 "s_register_operand" "w")
(match_operand:HI 3 "vpr_register_operand" "Up")]
@@ -4133,7 +4133,7 @@
;;
(define_insn "mve_vmladavxq_p_s<mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:MVE_2 1 "s_register_operand" "w")
(match_operand:MVE_2 2 "s_register_operand" "w")
(match_operand:HI 3 "vpr_register_operand" "Up")]
@@ -4181,7 +4181,7 @@
;;
(define_insn "mve_vmlsdavq_p_s<mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:MVE_2 1 "s_register_operand" "w")
(match_operand:MVE_2 2 "s_register_operand" "w")
(match_operand:HI 3 "vpr_register_operand" "Up")]
@@ -4197,7 +4197,7 @@
;;
(define_insn "mve_vmlsdavxq_p_s<mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:MVE_2 1 "s_register_operand" "w")
(match_operand:MVE_2 2 "s_register_operand" "w")
(match_operand:HI 3 "vpr_register_operand" "Up")]
@@ -4581,7 +4581,7 @@
;;
(define_insn "mve_vmlsdavaxq_s<mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:SI 1 "s_register_operand" "0")
(match_operand:MVE_2 2 "s_register_operand" "w")
(match_operand:MVE_2 3 "s_register_operand" "w")]
@@ -4597,7 +4597,7 @@
;;
(define_insn "mve_vmlsdavaq_s<mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:SI 1 "s_register_operand" "0")
(match_operand:MVE_2 2 "s_register_operand" "w")
(match_operand:MVE_2 3 "s_register_operand" "w")]
@@ -4613,7 +4613,7 @@
;;
(define_insn "mve_vmladavaxq_s<mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:SI 1 "s_register_operand" "0")
(match_operand:MVE_2 2 "s_register_operand" "w")
(match_operand:MVE_2 3 "s_register_operand" "w")]
@@ -6298,7 +6298,7 @@
;;
(define_insn "mve_vmladavaq_p_<supf><mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:SI 1 "s_register_operand" "0")
(match_operand:MVE_2 2 "s_register_operand" "w")
(match_operand:MVE_2 3 "s_register_operand" "w")
@@ -6808,7 +6808,7 @@
;;
(define_insn "mve_vmladavaxq_p_s<mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:SI 1 "s_register_operand" "0")
(match_operand:MVE_2 2 "s_register_operand" "w")
(match_operand:MVE_2 3 "s_register_operand" "w")
@@ -6825,7 +6825,7 @@
;;
(define_insn "mve_vmlsdavaq_p_s<mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:SI 1 "s_register_operand" "0")
(match_operand:MVE_2 2 "s_register_operand" "w")
(match_operand:MVE_2 3 "s_register_operand" "w")
@@ -6842,7 +6842,7 @@
;;
(define_insn "mve_vmlsdavaxq_p_s<mode>"
[
- (set (match_operand:SI 0 "s_register_operand" "=e")
+ (set (match_operand:SI 0 "s_register_operand" "=Te")
(unspec:SI [(match_operand:SI 1 "s_register_operand" "0")
(match_operand:MVE_2 2 "s_register_operand" "w")
(match_operand:MVE_2 3 "s_register_operand" "w")
@@ -9736,7 +9736,7 @@
(unspec:MVE_2 [(match_operand:SI 2 "s_register_operand" "1")
(match_operand:SI 3 "mve_imm_selective_upto_8" "Rg")]
VIDUPQ))
- (set (match_operand:SI 1 "s_register_operand" "=e")
+ (set (match_operand:SI 1 "s_register_operand" "=Te")
(plus:SI (match_dup 2)
(match_operand:SI 4 "immediate_operand" "i")))]
"TARGET_HAVE_MVE"
@@ -9772,7 +9772,7 @@
(match_operand:SI 4 "mve_imm_selective_upto_8" "Rg")
(match_operand:HI 5 "vpr_register_operand" "Up")]
VIDUPQ_M))
- (set (match_operand:SI 2 "s_register_operand" "=e")
+ (set (match_operand:SI 2 "s_register_operand" "=Te")
(plus:SI (match_dup 3)
(match_operand:SI 6 "immediate_operand" "i")))]
"TARGET_HAVE_MVE"
@@ -9804,7 +9804,7 @@
(unspec:MVE_2 [(match_operand:SI 2 "s_register_operand" "1")
(match_operand:SI 3 "immediate_operand" "i")]
VDDUPQ))
- (set (match_operand:SI 1 "s_register_operand" "=e")
+ (set (match_operand:SI 1 "s_register_operand" "=Te")
(minus:SI (match_dup 2)
(match_operand:SI 4 "immediate_operand" "i")))]
"TARGET_HAVE_MVE"
@@ -9840,7 +9840,7 @@
(match_operand:SI 4 "mve_imm_selective_upto_8" "Rg")
(match_operand:HI 5 "vpr_register_operand" "Up")]
VDDUPQ_M))
- (set (match_operand:SI 2 "s_register_operand" "=e")
+ (set (match_operand:SI 2 "s_register_operand" "=Te")
(minus:SI (match_dup 3)
(match_operand:SI 6 "immediate_operand" "i")))]
"TARGET_HAVE_MVE"
@@ -9891,7 +9891,7 @@
(subreg:SI (match_operand:DI 3 "s_register_operand" "r") 4)
(match_operand:SI 4 "mve_imm_selective_upto_8" "Rg")]
VDWDUPQ))
- (set (match_operand:SI 1 "s_register_operand" "=e")
+ (set (match_operand:SI 1 "s_register_operand" "=Te")
(unspec:SI [(match_dup 2)
(subreg:SI (match_dup 3) 4)
(match_dup 4)]
@@ -9951,7 +9951,7 @@
(match_operand:SI 5 "mve_imm_selective_upto_8" "Rg")
(match_operand:HI 6 "vpr_register_operand" "Up")]
VDWDUPQ_M))
- (set (match_operand:SI 1 "s_register_operand" "=e")
+ (set (match_operand:SI 1 "s_register_operand" "=Te")
(unspec:SI [(match_dup 2)
(match_dup 3)
(subreg:SI (match_dup 4) 4)
@@ -10008,7 +10008,7 @@
(subreg:SI (match_operand:DI 3 "s_register_operand" "r") 4)
(match_operand:SI 4 "mve_imm_selective_upto_8" "Rg")]
VIWDUPQ))
- (set (match_operand:SI 1 "s_register_operand" "=e")
+ (set (match_operand:SI 1 "s_register_operand" "=Te")
(unspec:SI [(match_dup 2)
(subreg:SI (match_dup 3) 4)
(match_dup 4)]
@@ -10068,7 +10068,7 @@
(match_operand:SI 5 "mve_imm_selective_upto_8" "Rg")
(match_operand:HI 6 "vpr_register_operand" "Up")]
VIWDUPQ_M))
- (set (match_operand:SI 1 "s_register_operand" "=e")
+ (set (match_operand:SI 1 "s_register_operand" "=Te")
(unspec:SI [(match_dup 2)
(match_dup 3)
(subreg:SI (match_dup 4) 4)