From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A0319385E830; Sun, 17 May 2020 00:26:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A0319385E830 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1589675178; bh=Gw5pwmKSJBljPNZu/tNoCPI/zePCLlYblsCdeGmrvsQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OPn0y31ztvrT3K+cJQDB1qNq1VcAqlqXZi9Q+QrlYIPkbdzFsvT6sbmuw2HjufDak +R1hD5QyzQjBf6o3MOWNO4Q09ACSEe0fYT87FM7JMe3eNOa4ZNzsLjQzm6xyocxbCh F71g9e+p3RbZiSQCdFTfuwuUoMPuGTsKhD/YB5YI= From: "samuel.thibault@ens-lyon.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/95169] i386 comparison between nan and 0.0 triggers Invalid operation exception Date: Sun, 17 May 2020 00:26:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 10.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: samuel.thibault@ens-lyon.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 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: Sun, 17 May 2020 00:26:18 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95169 --- Comment #2 from Samuel Thibault --- Here are the results with -march=3Di386 -mtune=3D$i. "0 1" thus means an exception is raised i386 0 0=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 i486 0 0 i586 0 0 pentium 0 0 lakemont 0 0 pentium-mmx 0 0 winchip-c6 0 0 winchip2 0 0 c3 0 0 samuel-2 0 0 c3-2 0 0 nehemiah 0 0 c7 0 0 esther 0 0 i686 0 0 pentiumpro 0 0 pentium2 0 0 pentium3 0 0 pentium3m 0 0 pentium-m 0 0 pentium4 0 0 pentium4m 0 0 prescott 0 0 nocona 0 0 core2 0 1 nehalem 0 1 corei7 0 1 westmere 0 1 sandybridge 0 1 corei7-avx 0 1 ivybridge 0 1 core-avx-i 0 1 haswell 0 1 core-avx2 0 1 broadwell 0 1 skylake 0 1 skylake-avx512 0 1 cannonlake 0 1 icelake-client 0 1 icelake-server 0 1 cascadelake 0 1 tigerlake 0 1 cooperlake 0 1 bonnell 0 1 atom 0 1 silvermont 0 1 slm 0 1 goldmont 0 1 goldmont-plus 0 1 tremont 0 1 knl 0 1 knm 0 1 intel 0 1 geode 0 0 k6 0 0 k6-2 0 0 k6-3 0 0 athlon 0 0 athlon-tbird 0 0 athlon-4 0 0 athlon-xp 0 0 athlon-mp 0 0 x86-64 cc1: warning: =E2=80=98-mtune=3Dx86-64=E2=80=99 is deprecated; use = =E2=80=98-mtune=3Dk8=E2=80=99 or =E2=80=98-mtune=3Dgeneric=E2=80=99 instead as appropriate [-Wdeprecated] 0 1 eden-x2 0 1 nano 0 1 nano-1000 0 1 nano-2000 0 1 nano-3000 0 1 nano-x2 0 1 eden-x4 0 1 nano-x4 0 1 k8 0 1 k8-sse3 0 1 opteron 0 1 opteron-sse3 0 1 athlon64 0 1 athlon64-sse3 0 1 athlon-fx 0 1 amdfam10 0 0 barcelona 0 0 bdver1 0 0 bdver2 0 0 bdver3 0 0 bdver4 0 0 znver1 0 0 znver2 0 0 btver1 0 0 btver2 0 0 generic 0 1 native 0 1=