From nobody Mon Jan 02 13:04:21 2023 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Nlx055NzXz2pNV9 for ; Mon, 2 Jan 2023 13:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Nlx052kMpz4DtR for ; Mon, 2 Jan 2023 13:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672664661; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HZtx2wU57Yyg1DCTUrFfpUycBKZXpT00bQqQoLG7Uxc=; b=bveHVAKif0eC/tfOn8lhPUuObgDnv+E/Op+m6zfV6JqmB+VwWwmGDsZB3rOi9AqkrQFwFf 1Fw29XdF+JmDzv4ungOa/EZcJDaBOt92FrREE0A9mordhIGg1huHrqQ8FVltX3AJo+9G4d DueCy65/IbRYCPbIWsTqpGayoecON9YW9fv0QJxmDtQSxHtIhyw5SuvfBeu8Lolz8W6w4w HKBzFIpMRpiPMacYl8islNeiZzEibd9iYJGQsoBsH/PHA6ghiA/amhgj48XZV44EEfD0Lq HpD0F4uixujoVEfeDVn+doGdwFUPVLZDJXOuBNPEMa6Meem3pWSO1HWGbjPwEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672664661; a=rsa-sha256; cv=none; b=QEM3DIRQD4bPNz2Ps2T9hvu6ep3hsPh2kJw+hTIGokNFbvUUSmq2yMuz9KrcswqJs3RY4U tyO/nU3uPqHqCDmusnqPcYG5Ehz3CMJZLSm3dzRcfMC8jkghqRFjlTDIrfllDlXNOFIzgO TkDajBUzLDqUBCQnNBfA62vp9rHW7X3A40J/8qFuG0dgP5lQx3XB7GV36fnrwtywXpWTWj 0hSG7tkWLm7NZHIUEP3/6/Tn8c2M6Z37BsUz1EsJ5Jl6BU9JBlX11kZt6m/i3p+ck6huQ8 bNsoEoXu3P6qb9IYkc6576oMJQOr2X3Sner/j1ty7YtkYqe9VcEG560zvnpxkQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Nlx051nLmz17BD for ; Mon, 2 Jan 2023 13:04:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 302D4LuC087950 for ; Mon, 2 Jan 2023 13:04:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 302D4LJ8087949 for riscv@FreeBSD.org; Mon, 2 Jan 2023 13:04:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 268684] riscv libc: fix longjmp with 0 value Date: Mon, 02 Jan 2023 13:04:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jrtc27@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268684 Jessica Clarke changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jrtc27@freebsd.org --- Comment #1 from Jessica Clarke --- This is a subset of https://reviews.freebsd.org/D29363 which I should get b= ack to. Note I instead opted for a conditional li, as both those instructions compress and in theory should be macro-op fusable, or have a short forward-branch optimisation applied, on cores that implement that. I believe the SiFive 7 series does the latter. --=20 You are receiving this mail because: You are the assignee for the bug.=