{"id":2230527,"url":"http://patchwork.ozlabs.org/api/1.1/covers/2230527/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/cover/20260429170519.2137725-1-joel@airwebreathe.org.uk/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/1.1/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260429170519.2137725-1-joel@airwebreathe.org.uk>","date":"2026-04-29T17:03:57","name":"[0/2] target/or1k: fix arithmetic edge cases","submitter":{"id":71296,"url":"http://patchwork.ozlabs.org/api/1.1/people/71296/?format=json","name":"joel--- via qemu development","email":"qemu-devel@nongnu.org"},"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/cover/20260429170519.2137725-1-joel@airwebreathe.org.uk/mbox/","series":[{"id":502145,"url":"http://patchwork.ozlabs.org/api/1.1/series/502145/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502145","date":"2026-04-29T17:03:58","name":"target/or1k: fix arithmetic edge cases","version":1,"mbox":"http://patchwork.ozlabs.org/series/502145/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2230527/comments/","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=airwebreathe.org.uk header.i=@airwebreathe.org.uk\n header.a=rsa-sha256 header.s=aaisp1 header.b=UKz0IuDY;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5Sxk3K6bz1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 06:06:50 +1000 (AEST)","from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wIB7w-0003Vi-5e; Wed, 29 Apr 2026 16:03:20 -0400","from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <joel@airwebreathe.org.uk>)\n id 1wI8M8-0005IO-W4\n for qemu-devel@nongnu.org; Wed, 29 Apr 2026 13:05:58 -0400","from a-painless.mh.aa.net.uk ([2001:8b0:0:30::51])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <joel@airwebreathe.org.uk>)\n id 1wI8M6-00057c-3u\n for qemu-devel@nongnu.org; Wed, 29 Apr 2026 13:05:48 -0400","from thunderhill.nvidia.com ([216.228.112.22]\n helo=jholdsworth-sail.nvidia.com)\n by painless-a.thn.aa.net.uk with esmtpsa (TLS1.3) tls\n TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2)\n (envelope-from <joel@airwebreathe.org.uk>)\n id 1wI8M2-00000003iOT-0COE; Wed, 29 Apr 2026 18:05:42 +0100"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n d=airwebreathe.org.uk; s=aaisp1; h=Content-Transfer-Encoding:MIME-Version:\n Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:\n Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc\n :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:\n List-Subscribe:List-Post:List-Owner:List-Archive;\n bh=Pe6GyFPa/hBqabgpAFyDYMXmwXGg/Sf/InMHSwTP8vE=; b=UKz0IuDYt8nugKsXSpMu67hfej\n CO2CA/mNsKLN+gTR6TrkAu982IEeyLU812VyiWqINB+BCwhEQfGHqgGKsvNH4unojprncdydC7mcf\n crM1FHGcQ06PRjD8j+dHLJIwyJrLOxe80Kfa0uMZI8MrS6X5SABTvQljZp+ygdyHY8GxC6B2rd45l\n dG+1gAPMPK8QCi7XWIAGOSQL+PzsQN1V5nFBmwXhRe9Tqckw35Fdzl3+JQcsI2uDef25u9uhN6dQy\n nwiIu4CdJljrpjv9Bu7bHLm9KR5o2vfMxiWpDV+aEx2yrCTEKk2U46Ap/aMcdhKnvtBEzmRyD41l9\n 641SumWA==;","To":"qemu-devel@nongnu.org","Cc":"Stafford Horne <shorne@gmail.com>,\n =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>,\n Joel Holdsworth <jholdsworth@nvidia.com>","Subject":"[PATCH 0/2] target/or1k: fix arithmetic edge cases","Date":"Wed, 29 Apr 2026 10:03:57 -0700","Message-ID":"<20260429170519.2137725-1-joel@airwebreathe.org.uk>","X-Mailer":"git-send-email 2.51.2","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Received-SPF":"pass client-ip=2001:8b0:0:30::51;\n envelope-from=joel@airwebreathe.org.uk; helo=a-painless.mh.aa.net.uk","X-Spam_score_int":"-20","X-Spam_score":"-2.1","X-Spam_bar":"--","X-Spam_report":"(-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=ham autolearn_force=no","X-Spam_action":"no action","X-Mailman-Approved-At":"Wed, 29 Apr 2026 16:03:09 -0400","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"qemu development <qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<https://lists.nongnu.org/archive/html/qemu-devel>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Reply-to":"joel@airwebreathe.org.uk","From":"joel--- via qemu development <qemu-devel@nongnu.org>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"},"content":"From: Joel Holdsworth <jholdsworth@nvidia.com>\n\nThis series fixes two bugs in the OpenRISC TCG translation:\n\n 1. gen_div: INT_MIN / -1 causes undefined behavior (hardware exception\n    on x86/ARM hosts)\n 2. gen_mulu: uses signed multiply instead of unsigned, producing\n    incorrect carry flags\n\nNote: these patches are AI-generated submissions.\n\nSigned-off-by: Joel Holdsworth <jholdsworth@nvidia.com>\n\nJoel Holdsworth (2):\n  target/or1k: fix gen_mulu using signed multiply for unsigned operation\n  target/or1k: fix gen_div INT_MIN / -1 undefined behavior\n\n target/or1k/translate.c | 24 +++++++++++++++++++-----\n 1 file changed, 19 insertions(+), 5 deletions(-)"}