From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 685BC3858D32; Mon, 19 Jun 2023 02:16:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 685BC3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687140960; bh=ActTMV18FBU8KFUWlWqMOMR3NC/FevNCnTnPZE11/Ko=; h=From:To:Subject:Date:In-Reply-To:References:From; b=e8VbUiprrl/1krEEVl2jUjcZR/NVzT7Vr3dYBwBcJKqDpRKAelKBlJ/Ys/A7c3Nt1 C2sweq9mT3syiy+bv1bOWl46Qh10A3BzEt9DUNgreabNzuM4ldr+KwJXG48djuvSCF /KkUkcj7Q4O+OqELqIjrQ7tUbg/f0uXHy+uQ7NDU= From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110062] missed vectorization in graphicsmagick Date: Mon, 19 Jun 2023 02:15:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.1.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: crazylht at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth 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=3D110062 --- Comment #7 from Hongtao.liu --- > pixel$red_60(D)(10)>, type of def: internal > t.c:18:27: missed: no optab. > t.c:18:27: missed: not vectorized: relevant stmt not supported: _29 =3D > (unsigned char) pixel$red_78; > t.c:18:27: note: Building vector operands of 0x4215e90 from scalars ins= tead >=20 > that's float -> unsigned char >=20 A patch is posted to support vectorization between float and unsigned char https://gcc.gnu.org/pipermail/gcc-patches/2023-June/620402.html=