summaryrefslogtreecommitdiff
path: root/gcc/config/i386/constraints.md
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-02 11:32:53 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-02 11:32:53 +0000
commit1e662e65158f08193cc0337064e775d4daf87c3d (patch)
tree9ca58a5e3c9c604664b28558cd73165e828c72e7 /gcc/config/i386/constraints.md
parent54063e0f79ebafc8eb90ba9170596b76211799d8 (diff)
downloadgcc-1e662e65158f08193cc0337064e775d4daf87c3d.tar.gz
* config/i386/constraints.md (Ts, Tv): New address constrains.
* config/i386/i386.md (*lea<mode>, *<mode>_<bndcheck>): Use Ts constraint for address_no_seg_operand. * config/i386/sse.md (*avx512pf_gatherpf<mode>_mask) (*avx512pf_gatherpf<mode>, *avx512pf_scatterpf<mode>_mask) (*avx512pf_scatterpf<mode>, *avx2_gathersi<mode>) (*avx2_gathersi<mode>_2, *avx2_gatherdi<mode>, *avx2_gatherdi<mode>_2) (*avx2_gatherdi<mode>_3, *avx2_gatherdi<mode>_4) (*avx512f_gathersi<mode>, *avx512f_gathersi<mode>_2) (*avx512f_gatherdi<mode>, *avx512f_gatherdi<mode>_2) (*avx512f_scattersi<mode> *avx512f_scatterdi<mode>): Use Tv constraint for vsib_address_operand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204317 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/constraints.md')
-rw-r--r--gcc/config/i386/constraints.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config/i386/constraints.md b/gcc/config/i386/constraints.md
index ddfd402ba11..7289ae493b0 100644
--- a/gcc/config/i386/constraints.md
+++ b/gcc/config/i386/constraints.md
@@ -237,9 +237,19 @@
(match_operand 0 "x86_64_zext_immediate_operand"))
;; T prefix is used for different address constraints
+;; v - VSIB address
+;; s - address with no segment register
;; i - address with no index and no rip
;; b - address with no base and no rip
+(define_address_constraint "Tv"
+ "VSIB address operand"
+ (match_operand 0 "vsib_address_operand"))
+
+(define_address_constraint "Ts"
+ "Address operand without segment register"
+ (match_operand 0 "address_no_seg_operand"))
+
(define_address_constraint "Ti"
"MPX address operand without index"
(match_operand 0 "address_mpx_no_index_operand"))