From nobody Tue Feb 10 05:46:04 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.128.43 as permitted sender) client-ip=209.85.128.43; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-f43.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.43 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1629147107; cv=none; d=zohomail.com; s=zohoarc; b=a5qAjzt9WiCowuQIYixjug1koI+o65Vne5+G0pRcl8R+kyhG5+stWDJ81nM5eAd9eRm/y/5R/O7EBqIwfJCFx9lBSJ44VGaMTTJZlxc4xffnK42joo1C6EWCXSrOwEwMXOq8r17t6aBRbjDlY9sW/RwsnUhDGXYJMV/0En/rQCA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1629147107; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=pOcKeX6ZT7d2KDzm2dL41WJyOOGp0Wbhe9wsUhWszh8=; b=TgVhI8iFk03pYTc2EwWGoGzJ7E7kzCdMz6x4lBFagyV8WR9hhLLtlKoTHujO69wq5sfAJDso5s+cqF1Xmu2UEqPDzmC2Pc7ovuRr2Fr+aP+QmbnV9wJov5cURRfOAQC1s84MB1whLOAZjG4tJ5yx1kIDpMTUcb5azDJyt/V4Yig= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.43 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mx.zohomail.com with SMTPS id 1629147107631277.37670847674565; Mon, 16 Aug 2021 13:51:47 -0700 (PDT) Received: by mail-wm1-f43.google.com with SMTP id a201-20020a1c7fd2000000b002e6d33447f9so631640wmd.0 for ; Mon, 16 Aug 2021 13:51:46 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.. (163.red-83-52-55.dynamicip.rima-tde.net. [83.52.55.163]) by smtp.gmail.com with ESMTPSA id g21sm253625wmk.8.2021.08.16.13.51.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Aug 2021 13:51:44 -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=pOcKeX6ZT7d2KDzm2dL41WJyOOGp0Wbhe9wsUhWszh8=; b=uT0a0B9VwcpZ1sIkrkncDmlkCtDdWui9fUzPJUNtSQVpYCUZZp7xejJa0+GojDb4R+ 9EHINpy3ozObpWs3OYRBMLG2jRD1ag2KJ9BL5KJYLiLVpryit5boKgvpi8ErOy1T7ecx wTPsUXWvSpZPb6klul+VUd8tnz30l2bwSw8th/wA4zP3ptkvG9aJGkkTpCyIChMfUn2P qkxEYqFOctupYxvUJiFlZzgPLdNuj5JWfSV63m3YATvClQ53KhGKn9OWZWG4g9Frzuzv Dwcw/CBHKfpmoP7XtHZ2TH3HJyLrqa3PoH5fWau+fJneKQy62fYRwEFAN1XHKKbzQHx6 a0IA== 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=pOcKeX6ZT7d2KDzm2dL41WJyOOGp0Wbhe9wsUhWszh8=; b=QHulfIiXCa0QOpfrGWlscfP35yIWG3WtFt3SqOSne6hiiGnc3RIY8F+lm8FHiyPU2y Ecd2Mg/4i+Sl99bJDMLCqvOtFz3+/PHZUdXkSANyDw2Zk5JIqkzcEumD9SiHt3tg1TfV 0Q+1PbysGGLclNmlYK28H292rAzpr47D8B8Fyh9J9Yv5O72DYMuMrNxdhC7ZJg6Hsz2n YWubOAVR/FfI5ThBI318jyIxyZ2NEJUhQjqogRbpRKVEaWHadjB+he7AtlrIG1t/ipK2 cKa/1fR8J00uF7r/oyZJkB04Dj/j6UIX1OrfYbxn9YN/iQnHLMZkkLn+2jYwv+5XVpeI Y0Xw== X-Gm-Message-State: AOAM530FvskuKK9cpVyGB66iUvtX9qmaJd7jj2ZTd5D5FbQ24DnMFl1v 4IiB3C6S+rVHjA2PTHvpyZDtY4/Hp88= X-Google-Smtp-Source: ABdhPJyPsVqnOwJeHdtK7E4FmwgrEbxWQ8U2AqYwvA4/PyaUhJZ7a6nuiUapDS4Xi0x5XU+T3BB9FA== X-Received: by 2002:a05:600c:4fc6:: with SMTP id o6mr104610wmq.122.1629147105796; Mon, 16 Aug 2021 13:51:45 -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: Jiaxun Yang , Aurelien Jarno , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Aleksandar Rikalo , Richard Henderson Subject: [PATCH 6/8] target/mips: Inline gen_helper_0e0i() Date: Mon, 16 Aug 2021 22:51:05 +0200 Message-Id: <20210816205107.2051495-7-f4bug@amsat.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210816205107.2051495-1-f4bug@amsat.org> References: <20210816205107.2051495-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) X-ZM-MESSAGEID: 1629147108314100001 gen_helper_0e0i() is one-line long and is only used twice: simply inline it. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- target/mips/tcg/translate.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/target/mips/tcg/translate.c b/target/mips/tcg/translate.c index db7fc75d937..c515a337ebc 100644 --- a/target/mips/tcg/translate.c +++ b/target/mips/tcg/translate.c @@ -1213,10 +1213,6 @@ TCGv_i64 fpu_f64[32]; =20 #include "exec/gen-icount.h" =20 -#define gen_helper_0e0i(name, arg) do { \ - gen_helper_##name(cpu_env, tcg_constant_i32(arg)); \ - } while (0) - #define gen_helper_0e1i(name, arg1, arg2) do { \ gen_helper_##name(cpu_env, arg1, tcg_constant_i32(arg2)); \ } while (0) @@ -1378,7 +1374,7 @@ void generate_exception_err(DisasContext *ctx, int ex= cp, int err) =20 void generate_exception(DisasContext *ctx, int excp) { - gen_helper_0e0i(raise_exception, excp); + gen_helper_raise_exception(cpu_env, tcg_constant_i32(excp)); } =20 void generate_exception_end(DisasContext *ctx, int excp) @@ -14188,7 +14184,7 @@ static void decode_opc_special(CPUMIPSState *env, D= isasContext *ctx) MIPS_INVAL("PMON / selsl"); gen_reserved_instruction(ctx); #else - gen_helper_0e0i(pmon, sa); + gen_helper_pmon(cpu_env, tcg_constant_i32(sa)); #endif break; case OPC_SYSCALL: --=20 2.31.1