From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 86F6B3851C27; Wed, 13 May 2020 14:13:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 86F6B3851C27 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1589379205; bh=lz+MoWycfdemUhCQhTRhhoprxpb3xa5I8UAduE9pfiA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=q6nEvRXrLOiTqDLgLVnj/dKQXd+3aTKjSPhhFjxiWQleqeiR3V1vO8N2P2bGPate2 2BCpq7Q+CKp8+MFcFrgtIlgjuRSH3mLmfPiVb4tb5AUKnminxQ3reP6AOxj2rlw0hp /rA0hadN+apkggAyXrb/c/1a3DM+meqNtnDZbf0I= From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/95083] x86 fp_movcc expansion depends on real_cst sharing Date: Wed, 13 May 2020 14:13:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2020 14:13:25 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95083 --- Comment #2 from Uro=C5=A1 Bizjak --- It looks to me that a couple of (scalar) splitters are missing in sse.md. There is vector (define_insn_and_split "*_blendv_lt" Defined as: [(set (match_operand:VF_128_256 0 "register_operand" "=3DYr,*x,x") (unspec:VF_128_256 [(match_operand:VF_128_256 1 "register_operand" "0,0,x") (match_operand:VF_128_256 2 "vector_operand" "YrBm,*xBm,xm") (lt:VF_128_256 (match_operand: 3 "register_operand" "Yz,Yz,x") (match_operand: 4 "const0_operand" "C,C,C"))] UNSPEC_BLENDV))] (please note const0 operand 4). Probably similar pattern is missing that would degrade to MIN/MAX, for vect= or and scalar versions.=