From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6BBA63858D1E; Fri, 9 Feb 2024 23:41:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6BBA63858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707522060; bh=ITaKBQ6SZrYgJ+OeT/2pmMFwVkmfCKk5aZjrxqDIZ8g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SllO9diOVPSEpMX8hNlYoXcbiOsPiLPfZEpeSPgE7G2FgAk9hnmDutpwpEN3pUG+H 7uY2fmVdw9OrqjpWInJ6k88CUTtCEvw50mUH4Mua7WWnIlp4Jep1mrFJHeLRGaLSaM UJRZOcsFfK3DCSa6dILuIfcDzZeoeleori1WoIU4= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113857] fmov should be used to zero the upper bits of the vector register Date: Fri, 09 Feb 2024 23:41:00 +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: 14.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113857 --- Comment #1 from Andrew Pinski --- Without f16 extension, s64 could be done as: ``` and x0, x0, 0xffff fmov s0, x0 ``` Similarly if we are doing a `c64` .=