From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AA615385840A; Wed, 11 Oct 2023 20:02:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AA615385840A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697054539; bh=hkos1/xTNUgAB0riyYJkFVllUn8Lp+0WBiIZfZb6AGE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=lttGRXQdlibb2r5D7kNVMmIDPy+e0rbWnZLQE5KZvY4RJSjN1xApnaQZ81bqDCwFE Z/0q2cGsNALDMjVT4prhhan4wHsB/n1vCdmlF+IWYHiMQWuAymspONIyZQtw5FZEdM B4Xfg5jaC5TJ05mrq88o2oJsT5HLeEi34y6j4Ai0= From: "daniel at binaryparadox dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111774] boringssl performance gap between clang and gcc for x25519 operations Date: Wed, 11 Oct 2023 20:02:19 +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.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel at binaryparadox dot net X-Bugzilla-Status: WAITING 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=3D111774 --- Comment #3 from cpu --- > What happens if you enable the above for GCC too? That appears to have helped, but not closed the gap: ``` Did 39600 Ed25519 key generation operations in 1001716us (39532.2 ops/sec) Did 41000 Ed25519 signing operations in 1006641us (40729.5 ops/sec) Did 32000 Ed25519 verify operations in 1020079us (31370.1 ops/sec) Did 43000 Curve25519 base-point multiplication operations in 1023075us (420= 30.2 ops/sec) Did 39000 Curve25519 arbitrary point multiplication operations in 1008147us (38684.8 ops/sec) ```=