From 24f794d75bfb3483e0db793d07ef728fa0974620 Mon Sep 17 00:00:00 2001 From: hjl Date: Tue, 5 Jun 2007 12:53:27 +0000 Subject: [PATCH] 2007-06-05 H.J. Lu * config/i386/constraints.md ("z"): Replaced by ... ("Y0"): This. * config/i386/sse.md (sse4_1_blendvpd): Likewise. (sse4_1_blendvps): Likewise. (sse4_1_pblendvb): Likewise. (sse4_2_pcmpestr): Likewise. (sse4_2_pcmpestrm): Likewise. (sse4_2_pcmpestr_cconly): Likewise. (sse4_2_pcmpistr): Likewise. (sse4_2_pcmpistrm): Likewise. (sse4_2_pcmpistr_cconly): Likewise. Move testsuite ChangeLog to testsuite/ChangeLog. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125332 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 19 ++++++++++++++++--- gcc/config/i386/constraints.md | 11 ++++++----- gcc/config/i386/sse.md | 18 +++++++++--------- gcc/testsuite/ChangeLog | 4 ++++ 4 files changed, 35 insertions(+), 17 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8862f516222..fee898b04c7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,8 +1,21 @@ +2007-06-05 H.J. Lu + + * config/i386/constraints.md ("z"): Replaced by ... + ("Y0"): This. + * config/i386/sse.md (sse4_1_blendvpd): Likewise. + (sse4_1_blendvps): Likewise. + (sse4_1_pblendvb): Likewise. + (sse4_2_pcmpestr): Likewise. + (sse4_2_pcmpestrm): Likewise. + (sse4_2_pcmpestr_cconly): Likewise. + (sse4_2_pcmpistr): Likewise. + (sse4_2_pcmpistrm): Likewise. + (sse4_2_pcmpistr_cconly): Likewise. + 2007-06-05 Razya Ladelsky - * matrix-reorg.c (transform_access_sites): Fix computation. - (transform_allocation_sites): Same. - * testsuite/gcc.dg/matrix/matrix-6.c: Remove conversion. + * matrix-reorg.c (transform_access_sites): Fix computation. + (transform_allocation_sites): Same. 2007-06-05 Uros Bizjak diff --git a/gcc/config/i386/constraints.md b/gcc/config/i386/constraints.md index 281d01ff907..452bc426d61 100644 --- a/gcc/config/i386/constraints.md +++ b/gcc/config/i386/constraints.md @@ -19,8 +19,8 @@ ;; Boston, MA 02110-1301, USA. ;;; Unused letters: -;;; B H TU W -;;; h jk vw +;;; B H TU W +;;; h jk vw z ;; Integer register constraints. ;; It is not necessary to define 'r' here. @@ -83,14 +83,15 @@ (define_register_constraint "x" "TARGET_SSE ? SSE_REGS : NO_REGS" "Any SSE register.") -(define_register_constraint "z" "TARGET_SSE ? SSE_FIRST_REG : NO_REGS" - "First SSE register (@code{%xmm0}).") - ;; We use the Y prefix to denote any number of conditional register sets: +;; 0 First SSE register. ;; 2 SSE2 enabled ;; i SSE2 inter-unit moves enabled ;; m MMX inter-unit moves enabled +(define_register_constraint "Y0" "TARGET_SSE ? SSE_FIRST_REG : NO_REGS" + "First SSE register (@code{%xmm0}).") + (define_register_constraint "Y2" "TARGET_SSE2 ? SSE_REGS : NO_REGS" "@internal Any SSE register, when SSE2 is enabled.") diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 8917dfc61ba..a6c6ad8d5d1 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -5844,7 +5844,7 @@ [(set (match_operand:V2DF 0 "reg_not_xmm0_operand" "=x") (unspec:V2DF [(match_operand:V2DF 1 "reg_not_xmm0_operand" "0") (match_operand:V2DF 2 "nonimm_not_xmm0_operand" "xm") - (match_operand:V2DF 3 "register_operand" "z")] + (match_operand:V2DF 3 "register_operand" "Y0")] UNSPEC_BLENDV))] "TARGET_SSE4_1" "blendvpd\t{%3, %2, %0|%0, %2, %3}" @@ -5856,7 +5856,7 @@ [(set (match_operand:V4SF 0 "reg_not_xmm0_operand" "=x") (unspec:V4SF [(match_operand:V4SF 1 "reg_not_xmm0_operand" "0") (match_operand:V4SF 2 "nonimm_not_xmm0_operand" "xm") - (match_operand:V4SF 3 "register_operand" "z")] + (match_operand:V4SF 3 "register_operand" "Y0")] UNSPEC_BLENDV))] "TARGET_SSE4_1" "blendvps\t{%3, %2, %0|%0, %2, %3}" @@ -5927,7 +5927,7 @@ [(set (match_operand:V16QI 0 "reg_not_xmm0_operand" "=x") (unspec:V16QI [(match_operand:V16QI 1 "reg_not_xmm0_operand" "0") (match_operand:V16QI 2 "nonimm_not_xmm0_operand" "xm") - (match_operand:V16QI 3 "register_operand" "z")] + (match_operand:V16QI 3 "register_operand" "Y0")] UNSPEC_BLENDV))] "TARGET_SSE4_1" "pblendvb\t{%3, %2, %0|%0, %2, %3}" @@ -6399,7 +6399,7 @@ (match_operand:SI 5 "register_operand" "d,d") (match_operand:SI 6 "const_0_to_255_operand" "n,n")] UNSPEC_PCMPESTR)) - (set (match_operand:V16QI 1 "register_operand" "=z,z") + (set (match_operand:V16QI 1 "register_operand" "=Y0,Y0") (unspec:V16QI [(match_dup 2) (match_dup 3) @@ -6471,7 +6471,7 @@ (set_attr "mode" "TI")]) (define_insn "sse4_2_pcmpestrm" - [(set (match_operand:V16QI 0 "register_operand" "=z,z") + [(set (match_operand:V16QI 0 "register_operand" "=Y0,Y0") (unspec:V16QI [(match_operand:V16QI 1 "register_operand" "x,x") (match_operand:SI 2 "register_operand" "a,a") @@ -6505,7 +6505,7 @@ (match_operand:SI 4 "const_0_to_255_operand" "n,n,n,n")] UNSPEC_PCMPESTR)) (clobber (match_scratch:SI 5 "=c,c,X,X")) - (clobber (match_scratch:V16QI 6 "=X,X,z,z"))] + (clobber (match_scratch:V16QI 6 "=X,X,Y0,Y0"))] "TARGET_SSE4_2" "@ pcmpestri\t{%4, %2, %0|%0, %2, %4} @@ -6525,7 +6525,7 @@ (match_operand:V16QI 3 "nonimmediate_operand" "x,m") (match_operand:SI 4 "const_0_to_255_operand" "n,n")] UNSPEC_PCMPISTR)) - (set (match_operand:V16QI 1 "register_operand" "=z,z") + (set (match_operand:V16QI 1 "register_operand" "=Y0,Y0") (unspec:V16QI [(match_dup 2) (match_dup 3) @@ -6586,7 +6586,7 @@ (set_attr "mode" "TI")]) (define_insn "sse4_2_pcmpistrm" - [(set (match_operand:V16QI 0 "register_operand" "=z,z") + [(set (match_operand:V16QI 0 "register_operand" "=Y0,Y0") (unspec:V16QI [(match_operand:V16QI 1 "register_operand" "x,x") (match_operand:V16QI 2 "nonimmediate_operand" "x,m") @@ -6614,7 +6614,7 @@ (match_operand:SI 2 "const_0_to_255_operand" "n,n,n,n")] UNSPEC_PCMPISTR)) (clobber (match_scratch:SI 3 "=c,c,X,X")) - (clobber (match_scratch:V16QI 4 "=X,X,z,z"))] + (clobber (match_scratch:V16QI 4 "=X,X,Y0,Y0"))] "TARGET_SSE4_2" "@ pcmpistri\t{%2, %1, %0|%0, %1, %2} diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b729e1d7f30..8ec62e84552 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2007-06-05 Razya Ladelsky + + * gcc.dg/matrix/matrix-6.c: Remove conversion. + 2007-06-04 Ian Lance Taylor * gcc.dg/Wstrict-overflow-18.c: New test. -- 2.11.4.GIT