From nobody Mon Nov 17 12:06:34 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.218.42 as permitted sender) client-ip=209.85.218.42; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-ej1-f42.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.218.42 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1603755007; cv=none; d=zohomail.com; s=zohoarc; b=gmxG9ZCfPde4NuFbhIhNaqaiIwQuWvjkfA8uktQpgnPYGwVpgvQt/VOx7e865yRyL5L7ZUUblj/KWkIoZ/1D84QonZSkgy9uK9qMkP4L8zApLF2d7yxsu37fLOSrDeZbmiUvOWHbcQogvdFLbptQED6+n2b2B1rUoOTsGPYAS9Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1603755007; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ByHyPPqDa1B0Z2A0GB22PMBVgYYCiahQCzikXG3rHfE=; b=UsaogpXHasLvkLs5MLA/RPCc8E/EqpAPrK/s7nb5Hm/5pmr5OiHgKPo3ugZGa6fIA0ZGOf8jYlzLop7sOvrJlZK8jAwUQt78Ti+W2cWqF+2LXZAgZQPp2vNCp1hu+WaAk4A4etxuUOF+QrVQowWTib0u7W1K1s+cn29d6rfpqvs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.218.42 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) by mx.zohomail.com with SMTPS id 1603755007356767.6213426913985; Mon, 26 Oct 2020 16:30:07 -0700 (PDT) Received: by mail-ej1-f42.google.com with SMTP id p9so16494778eji.4 for ; Mon, 26 Oct 2020 16:30:06 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.redhat.com (237.red-88-18-140.staticip.rima-tde.net. [88.18.140.237]) by smtp.gmail.com with ESMTPSA id d20sm5907484edp.85.2020.10.26.16.30.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2020 16:30:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ByHyPPqDa1B0Z2A0GB22PMBVgYYCiahQCzikXG3rHfE=; b=nCDVqzfHJDfKssmIVW/lJS3qdYaCfFEqyYwpayAM5sTxjHLP0WJjNHlmIqKcGgS0RW 7qvqDPL5AVXF1DgaTBqTtbSsx3w9OUPzg48I/tqniVHQA8U+80b+SnKOlDmy65HeXE3M HTKu3i1ZDkrZYqwl8VsD7oNCDoqx0FANLGbdkaqacc0T/LWaki1wFdiWt2uy+wGlbcl4 FaHwsERLQosvuqd/zksmqlpmSCNIZFM25+IYK11CUf/GTSYqlJZ+LbbpWsyRkjMcBIrW D8GsIFUXNqBRepLJ+0JFunPVQQPZUBv9nP7VhG/QAWiz+0e//nR2soMTjhcSs1uasXbU alQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=ByHyPPqDa1B0Z2A0GB22PMBVgYYCiahQCzikXG3rHfE=; b=sCgEFWvj7yUgZp/i82mCiiWnvUgs8uQ8G3zjRRJ9kztG2YFd/+G6v7ts83az1e+tyt ruYM9i1eJN5T1F6os+/U4l3pdmL/jzc1m9hLo0kwml/Vgjb8L83xWyn749YmeH4TdRkW rGvjim/jGJGUCqq26e1qh7FgWigF5t3NLkuxhKpPJgeve3ei9JhLWu8Haq30prw/M/om eP2Z20qxBXax4T7pMyE3qrhUm21RluG7C0qAO0Qht/lHEvEwBbA76jP09/SmhCk+wka+ aHDFRiH0vKARNeijl8Fb4JL11GcNU9SPEsrHn+IZYMw3p6FS834GuGDAriB+yCY+L0h4 nJkA== X-Gm-Message-State: AOAM532zLYc5uUveu6hOh52gOk7N+7GI0GtzOuAkp7HjFg4lsJ4/CN48 lKMwYhTFvFmuwFbUt0VuZbY= X-Google-Smtp-Source: ABdhPJz2kjBKqV0Pjh0ofWny0kDlaRA08V2CrKQXUnnZRnuvqs+G6Kf3MM4Czb/b7pedng1X9deghA== X-Received: by 2002:a17:906:4351:: with SMTP id z17mr17968767ejm.110.1603755005557; Mon, 26 Oct 2020 16:30:05 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Yoshinori Sato , Magnus Damm , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 5/8] target/sh4: Update coding style to make checkpatch.pl happy Date: Tue, 27 Oct 2020 00:29:32 +0100 Message-Id: <20201026232935.92777-6-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201026232935.92777-1-f4bug@amsat.org> References: <20201026232935.92777-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) Avoid checkpatch.pl warnings in the next commit. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- target/sh4/op_helper.c | 8 +++++--- target/sh4/translate.c | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/target/sh4/op_helper.c b/target/sh4/op_helper.c index 14c3db0f485..fcd9ac7271c 100644 --- a/target/sh4/op_helper.c +++ b/target/sh4/op_helper.c @@ -398,9 +398,11 @@ float32 helper_fsrra_FT(CPUSH4State *env, float32 t0) /* "Approximate" 1/sqrt(x) via actual computation. */ t0 =3D float32_sqrt(t0, &env->fp_status); t0 =3D float32_div(float32_one, t0, &env->fp_status); - /* Since this is supposed to be an approximation, an imprecision - exception is required. One supposes this also follows the usual - IEEE rule that other exceptions take precidence. */ + /* + * Since this is supposed to be an approximation, an imprecision + * exception is required. One supposes this also follows the usual + * IEEE rule that other exceptions take precidence. + */ if (get_float_exception_flags(&env->fp_status) =3D=3D 0) { set_float_exception_flags(float_flag_inexact, &env->fp_status); } diff --git a/target/sh4/translate.c b/target/sh4/translate.c index 60c863d9e1b..ec5b04889e1 100644 --- a/target/sh4/translate.c +++ b/target/sh4/translate.c @@ -1959,9 +1959,11 @@ static void decode_gusa(DisasContext *ctx, CPUSH4Sta= te *env) NEXT_INSN; switch (ctx->opcode & 0xf00f) { case 0x6003: /* mov Rm,Rn */ - /* Here we want to recognize ld_dst being saved for later consumti= on, - or for another input register being copied so that ld_dst need = not - be clobbered during the operation. */ + /* + * Here we want to recognize ld_dst being saved for later consumti= on, + * or for another input register being copied so that ld_dst need = not + * be clobbered during the operation. + */ op_dst =3D B11_8; mv_src =3D B7_4; if (op_dst =3D=3D ld_dst) { --=20 2.26.2