From patchwork Thu Sep 12 07:39:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827824 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp1144247wrc; Thu, 12 Sep 2024 00:49:55 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXlLo+DQZQZUG6wPPD5QUhOD3hilorcxzATAWGTxi0jrUstOh7FeUpztORPLLCh5arUwV2hfw==@linaro.org X-Google-Smtp-Source: AGHT+IGFANmM0uKTK+bvUNhP9a7x3CvlOP/07mMLeEUtCi30ObPPQTHnaRzThibebIo6glXY65dh X-Received: by 2002:a05:620a:4594:b0:7a4:dff8:35d5 with SMTP id af79cd13be357-7a9bf9d5566mr1573386985a.33.1726127395339; Thu, 12 Sep 2024 00:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726127395; cv=none; d=google.com; s=arc-20240605; b=NAoY1+29V5bbgdGwRdmcHbY/YOOVV3AOtNzLWdpxDuk94uYqJAX801wfII3OjigNPq wAW1XwVgEQyay6JTSsK1yuw9awZ3oum0SeSMepS/Z2z7+YF9ueKcpxq37tAJSj1Tr9ZB eSEyeAxZp2w7PVn2npR5oVW3O5gQCwWnj3K9mE36zITvtSENo71IzshBVjzFXDGP+ELC Bcn1meQkU+FcwUGkp7aQtACjPrrL7SLJFaP4Pn98ZfNafU/+pekIAxs2kEEjBYrsZ4EJ 5Qq547uPxwLwpV95WBvpIx2bPfli7yMRv2RwSAI5zx+SSwq7ONdIfCDE8z2BuPkD/iTH fSAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=i5xGRLzZJ2Qth0Y8TPzSfuk2uwuhTRJtRDglckHUSQI=; fh=9lXHm2cv0EOsvaESlQxkp+iopfNbpS2ZXLeBYSea/ko=; b=VJ7ZG8ZU62DZcDPULVzp55tyE8M3UMkhzwR221Md64qiJEFrR80SuR8N39xc5/GMPS Es6gqTVUkjoKM0dDMhGFcQmwBidAzvJ5C/vyg6Sf3ugM2YcR2BxY6tFo8DsTBj0BVRTl Jk2F0mAakCRLhvaG9BBvd80HLWnHpigbpTTAV4gYrRyURw4yW7keqRGqAHEiSurteKG8 ZucigGCKy+BxsKhy3ISdb+8k76PcYwedZKqcljGuXQrujSZCUmp+CoHRNSl1DSn4idKL Fkf7F7WwTPcDD7JLw7G/R8JeWedIVlkJk6vli4aF8iBXNpBgwJ0REJL8G92djFy832qd VBzg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qMCyFAWw; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7a9a7a4a602si1219803585a.536.2024.09.12.00.49.55 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Sep 2024 00:49:55 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qMCyFAWw; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1soeWT-00049g-6f; Thu, 12 Sep 2024 03:45:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1soeRw-00080T-9B for qemu-devel@nongnu.org; Thu, 12 Sep 2024 03:41:08 -0400 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1soeRt-0000zJ-Hf for qemu-devel@nongnu.org; Thu, 12 Sep 2024 03:41:07 -0400 Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-7cf5e179b68so510029a12.1 for ; Thu, 12 Sep 2024 00:41:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726126864; x=1726731664; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=i5xGRLzZJ2Qth0Y8TPzSfuk2uwuhTRJtRDglckHUSQI=; b=qMCyFAWwirpcxLDHDmyFWczTh81UZUvBKNgxYi1CCKccMtZrTRcK566y08c7Xqvyma kFXQtqyoHHKb8soD1ySh+vxUEICkTMsdNTgcBR/Wx6tb5gKk/QN+cQgxv/8WRKkKHydu UdnllC47YZ1BR5x8Lj9c87CFIbJPNMYZtAoH5+q83yvTT+kABxL04bJkmjROADc8PgMM wBqX4I6lGzryidVwKeQtpSGki30zq187Gu8CuQJbzXilFy3ylI+kOJ+sOefbqDkUrvhI 39ftTnfcm9laNnMRRRzb8XhiGle3fF2bAfH6s4c3+824Y9TMujFwYmrIBViQkH28V93X FrEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726126864; x=1726731664; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=i5xGRLzZJ2Qth0Y8TPzSfuk2uwuhTRJtRDglckHUSQI=; b=i+ccErSHg19JnEITBFIoEX4tuTIPwFlSSDeqYEjMqEEnA5MgpMH0Chvr17F+mrpQR7 vGU91Jv+nRteKMGAklw8VOBstYvoc0sViIIoNmrujs4rdljgXb+F7Tcf5UHjHK6LpD9t KZrZG2JRl8NrlVBd630Z26IbEfLbZM2Fz8KTlRd6Jw+yoSa6fV0DvELnGBSHMO9f2Ccg rOkU6Q1qEcaabFu0SPrsSPNNnvdx5ujp6CJ96qU8G9vTcIXse14DPSK06w/5FGeow0FW wjg6JG3182JxTtYBf/K3QIlU9q3C6/d+72JKr+cFljDw+1tDiZiq7qF+qbei/Izy0eXg 6ZDg== X-Gm-Message-State: AOJu0YxMt3kLH19cMINQo33wRLXFSxSKV7jhO/1I5rovKeRjVK4jgpAG iVIJXUEPvUcNJS6+Mhy3rBYAJiO1cGaJDCNyGK1FnvyxnQI+xAtRhr9Hk2vOae53Z2TztkVqIK2 52hmzM5+c X-Received: by 2002:a05:6a20:8714:b0:1d0:3a28:7d2c with SMTP id adf61e73a8af0-1d03a2882b8mr604506637.11.1726126863874; Thu, 12 Sep 2024 00:41:03 -0700 (PDT) Received: from linaro.vn.shawcable.net ([2604:3d08:9384:1d00::9633]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7db1fb9ad87sm983458a12.6.2024.09.12.00.41.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Sep 2024 00:41:03 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: Jason Wang , =?utf-8?q?Alex_Benn=C3=A9e?= , Laurent Vivier , Marcelo Tosatti , Nicholas Piggin , Klaus Jensen , WANG Xuerui , Halil Pasic , Rob Herring , Michael Rolnik , Zhao Liu , Peter Maydell , Richard Henderson , Fabiano Rosas , Corey Minyard , Keith Busch , Thomas Huth , "Maciej S. Szmigiero" , Harsh Prateek Bora , Kevin Wolf , Paolo Bonzini , Jesper Devantier , Hyman Huang , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Palmer Dabbelt , qemu-s390x@nongnu.org, Laurent Vivier , qemu-riscv@nongnu.org, "Richard W.M. Jones" , Liu Zhiwei , Aurelien Jarno , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Marcel Apfelbaum , kvm@vger.kernel.org, Christian Borntraeger , Akihiko Odaki , Daniel Henrique Barboza , Hanna Reitz , Ani Sinha , qemu-ppc@nongnu.org, =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , Alistair Francis , Bin Meng , "Michael S. Tsirkin" , Helge Deller , Peter Xu , Daniel Henrique Barboza , Dmitry Fleytman , Nina Schoetterl-Glausch , Yanan Wang , qemu-arm@nongnu.org, Igor Mammedov , Jean-Christophe Dubois , Eric Farman , Sriram Yagnaraman , qemu-block@nongnu.org, Stefan Berger , Joel Stanley , Eduardo Habkost , David Gibson , Fam Zheng , Weiwei Li , Markus Armbruster , Pierrick Bouvier Subject: [PATCH v2 37/48] fpu: remove break after g_assert_not_reached() Date: Thu, 12 Sep 2024 00:39:10 -0700 Message-Id: <20240912073921.453203-38-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240912073921.453203-1-pierrick.bouvier@linaro.org> References: <20240912073921.453203-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pg1-x52e.google.com 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, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org This patch is part of a series that moves towards a consistent use of g_assert_not_reached() rather than an ad hoc mix of different assertion mechanisms. Reviewed-by: Richard Henderson Signed-off-by: Pierrick Bouvier --- fpu/softfloat-parts.c.inc | 2 -- 1 file changed, 2 deletions(-) diff --git a/fpu/softfloat-parts.c.inc b/fpu/softfloat-parts.c.inc index a44649f4f4a..cc6e06b9761 100644 --- a/fpu/softfloat-parts.c.inc +++ b/fpu/softfloat-parts.c.inc @@ -1373,7 +1373,6 @@ static FloatPartsN *partsN(minmax)(FloatPartsN *a, FloatPartsN *b, break; default: g_assert_not_reached(); - break; } switch (b->cls) { case float_class_normal: @@ -1386,7 +1385,6 @@ static FloatPartsN *partsN(minmax)(FloatPartsN *a, FloatPartsN *b, break; default: g_assert_not_reached(); - break; } }