From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 56A943858D37; Tue, 3 Jan 2023 18:00:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 56A943858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1672768826; bh=pERBSTzTJtcIHl4hL05GtHK2nvAobgYfdPabRi5MjMQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cEJrkzpsJJ9W3aehYY67rGk0kIKTH31Ws6uQ2+5Sd1h64kxs8OTFcrt5l30pNyusQ BIP8iDEkIMGm9HN19auWCYcVIp69BpoGYrkQOscgjhkdVw2LsA2PMIBTEF06A8QzQC yPpIBAPl19oOu1ZzxahIDUt1Olsof39aiqLPArf8= From: "goldstein.w.n at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/29953] Invalid x86_non_temporal_threshold without cache info Date: Tue, 03 Jan 2023 18:00:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.36 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: goldstein.w.n at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29953 --- Comment #7 from Noah Goldstein --- (In reply to H.J. Lu from comment #6) > (In reply to Noah Goldstein from comment #5) > > We also have a bug with `x86_rep_movsb_threshold` which requires at lea= st > > 128 (2x AVX512 aligning vectors). >=20 > x86_rep_movsb_threshold should be fine. minimum_rep_movsb_threshold shou= ld > be set and checked properly. Seems like the exact same issue no? ``` tunable_size =3D TUNABLE_GET (x86_rep_movsb_threshold, long int, NULL); if (tunable_size > minimum_rep_movsb_threshold) rep_movsb_threshold =3D tunable_size; // if tunable_size was zero, rep_movsb_threshold =3D=3D 0 ... // Won't clamp, will leave x86_rep_movsb_threshold at zero. TUNABLE_SET_WITH_BOUNDS (x86_rep_movsb_threshold, rep_movsb_threshold, minimum_rep_movsb_threshold, SIZE_MAX); ``` --=20 You are receiving this mail because: You are on the CC list for the bug.=