diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-06 18:25:47 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-06 18:25:47 +0000 |
commit | 7e7772509f68756b21537345b9d9f83d1e212d0c (patch) | |
tree | 28b4eb7c364b7f4fa02be5fa59dc61ffb439e7f6 /gcc/config/i386/constraints.md | |
parent | 6b1ea908fe70fd706dfa2ae9b5765ccdc3774fe0 (diff) | |
download | gcc-7e7772509f68756b21537345b9d9f83d1e212d0c.tar.gz |
* config/i386/constraints.md (Y2): Rename from Y.
(Yi): New constraint.
* config/i386/i386.md (movsi_1, movdi_2, pushdf_nointeger,
pushdf_integer, movdf_nointeger, movdf_integer, zero_extendsidi2_32,
zero_extendsidi2_rex64, truncxfdf2_mixed): Change Y constraints to Y2.
(extendsfdf2_mixed, extendsfdf2_sse, truncdfsf_fast_mixed,
truncdfsf_fast_sse, truncdfsf_mixed, fix_truncdfdi_sse,
fix_truncdfsi_sse, floatsidf2_mixed, floatsidf2_sse,
floatdidf2_mixed, floatdidf2_sse, absnegdf2_mixed,
absnegdf2_sse, sse_setccdf, fop_df_comm_mixed, fop_df_comm_sse,
fop_df_1_mixed, fop_df_1_sse): Change Y constraints to x.
* config/i386/mmx.md (mov<MMXMODEI>_internal_rex64,
mov<MMXMODEI>_internal, movv2sf_internal_rex64, movv2sf_internal,
vec_extractv2si_1): Change Y constraints to Y2.
* config/i386/sse.md (vec_setv4sf_0, vec_concatv2df, vec_dupv4si,
vec_dupv2di, sse2_concatv2si, vec_concatv4si_1, vec_concatv2di):
Change Y constraints to Y2.
(sse2_loadld): Change Y constraints to x.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121660 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/constraints.md')
-rw-r--r-- | gcc/config/i386/constraints.md | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gcc/config/i386/constraints.md b/gcc/config/i386/constraints.md index 0ab4995f3b8..f5b7c513428 100644 --- a/gcc/config/i386/constraints.md +++ b/gcc/config/i386/constraints.md @@ -83,8 +83,16 @@ (define_register_constraint "x" "TARGET_SSE ? SSE_REGS : NO_REGS" "Any SSE register.") -(define_register_constraint "Y" "TARGET_SSE2? SSE_REGS : NO_REGS" - "@internal Any SSE2 register.") +;; We use the Y prefix to denote any number of conditional register sets: +;; 2 SSE2 enabled +;; i SSE2 inter-unit moves enabled + +(define_register_constraint "Y2" "TARGET_SSE2 ? SSE_REGS : NO_REGS" + "@internal Any SSE register, when SSE2 is enabled.") + +(define_register_constraint "Yi" + "TARGET_SSE2 && TARGET_INTER_UNIT_MOVES ? SSE_REGS : NO_REGS" + "@internal Any SSE register, when SSE2 and inter-unit moves are enabled.") ;; Integer constant constraints. (define_constraint "I" |