From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4851F3858C53; Thu, 22 Sep 2022 01:27:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4851F3858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663810025; bh=fv6z6Glu4rsxPpqpLiaDk7UnsTWl6P0zmB80el3Y7sg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bxsIjO6wNzhouKxdChXeIirjCKTZ0sY2ZCrspt++hWMRNb4OOGxv1JdTGIYg9lC81 tm9L24yE2NprEPkXvbVE3SbZZGs1qd8ClFLvRbD3cWpCHNu1N2cI8IMyYpzht9Edds QuvT5PT1RT+Pz3qbpDvkcyJ0LST4qaExssBovDDM= From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106910] roundss not vectorized Date: Thu, 22 Sep 2022 01:27:04 +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: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: crazylht at gmail dot com X-Bugzilla-Status: NEW 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=3D106910 --- Comment #11 from Hongtao.liu --- (In reply to Hongtao.liu from comment #10) > Because the round insn does not trap on denormals. Note for scalar version, gcc generates roundss $9, %xmm0, %xmm0 which doesn= 't raise exception because it's allowed by the below option. ----- ffp-int-builtin-inexact Common Var(flag_fp_int_builtin_inexact) Init(1) Optimization Allow built-in functions ceil, floor, round, trunc to raise \"inexact\" exceptions. -----=