From nobody Fri Apr 19 22:17:43 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1593530836; cv=none; d=zohomail.com; s=zohoarc; b=U0UbtNU3F5rCzy6WW235bH1/kvHrXB+gkA7eRte0ZTI+lZ4Ygy9BM1W4qGZDHZUv4tyhGLmhVl9lIxSIn8PJCImi87PdcRY9PxdVMVf8/Vtb3BPAEU7UEQASftPbxJAO333TqFc7kp/u9+vKfBhYbImB/HwBRx2Yci7DjV8Q7WA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1593530836; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=upNPHIrMVxywp/ZU0zAWsGAEn/MYe/LdlqvxdOHWF20=; b=FD2H8aIBqGiEyOqU4/37YUCfR6IwwWUNxJYriZCcpKwYL9x7etXIY5PtFO8u0rLQSeaoYjofEtGi+SYiaGDUuIcJ70GSxV6/SfzftpIx4ldrzAC9bYms5phABGTMXa1yHqyG6jnDQ3GsQkv4jKviKAKJrLux8cnksNKoBjf3JRU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1593530836843675.2935690292461; Tue, 30 Jun 2020 08:27:16 -0700 (PDT) Received: from localhost ([::1]:47408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqIAF-0003vZ-L6 for importer@patchew.org; Tue, 30 Jun 2020 11:27:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqI8s-0002OC-69 for qemu-devel@nongnu.org; Tue, 30 Jun 2020 11:25:50 -0400 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]:37634) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqI8q-0000Hl-Kn for qemu-devel@nongnu.org; Tue, 30 Jun 2020 11:25:49 -0400 Received: by mail-ej1-x643.google.com with SMTP id lx13so2408969ejb.4 for ; Tue, 30 Jun 2020 08:25:48 -0700 (PDT) Received: from localhost.localdomain ([109.245.225.97]) by smtp.gmail.com with ESMTPSA id q21sm2272398ejc.112.2020.06.30.08.25.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 08:25:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=upNPHIrMVxywp/ZU0zAWsGAEn/MYe/LdlqvxdOHWF20=; b=dZp8w2UqXcH0XG1YEgXrIW8aF6sJyFJSL3f3zbsYf2e84NgvczXk4smWJq8n8RTAnO 4n6ER8QhErArU+8Ng4l7P/dMtt4R7rTTS420wS9jxZPZYdBdW2yoVn7Dl5cHA44b/eDK dX09AV76vB8/WWHp+CQuN3KyPVh/+IJlkT3iyO8emeDtN3rDneca625aZMuzTd47Z5JJ S2fgSSe89CNP2DtYP0QqM8+FYirCSmwqvxkotQ2pL3G5kUeeHVpp73CJ3Nr5wUMuZGEe 3QSaTX5JPTGIMGLy83UmU6Q0l0fyrAEJ5sStZeqemB+5kbCSLSBgr+mKiRxYuhW9yFNk oOmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=upNPHIrMVxywp/ZU0zAWsGAEn/MYe/LdlqvxdOHWF20=; b=ObFfKD+boDOVGiLJJuTaZlzBiclqNtHuorJyWkq2lWJfiel1J7oDBTWwsAwC/D7q3Y 8jlBUzjR4Kifncgx7rD37Zvy1Fetx47s1kiBORU5/lTgnn1iZnOB41zccMJGLYslKEQd nz+uRmb95P7ZwmnuSjkCclSsTCuFqVoatFUSvN42zj/aEYr9hP1o2xVYgrqXW4joaCnk yezA+nloIQCRb/pNW61hK4MSS0RRiGvb37LhpQg1aiBggJ+fj5Bfua7xPTlpCd3jRZDp VHEuVIp4r0Td8d2t3wKsrT7JLQ70xsrYJ7ATzRAx0s48Ngyd79i2wP9PFPw1s+qp+6yK QPPQ== X-Gm-Message-State: AOAM533lXUTuipgldQGFYhznqEbcKOQ+J4Z8Zy59jL6xdZ5u1WuIyIqq 6eKVY4b7cflwp+Lf5lQoP8kHsWNO X-Google-Smtp-Source: ABdhPJy7cKhp9OFlgLgefCndZmJc3VFMDja3U9nT2ZQt7kNlHUAsOXmXI5OrWJvbDlR3A5d2f9SwSw== X-Received: by 2002:a17:906:b217:: with SMTP id p23mr19224854ejz.98.1593530747223; Tue, 30 Jun 2020 08:25:47 -0700 (PDT) From: Aleksandar Markovic To: qemu-devel@nongnu.org Subject: [PATCH 1/2] target/mips: Remove identical if/else branches Date: Tue, 30 Jun 2020 17:25:30 +0200 Message-Id: <20200630152531.20657-2-aleksandar.qemu.devel@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200630152531.20657-1-aleksandar.qemu.devel@gmail.com> References: <20200630152531.20657-1-aleksandar.qemu.devel@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::643; envelope-from=aleksandar.qemu.devel@gmail.com; helo=mail-ej1-x643.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: aleksandar.rikalo@syrmia.com, Aleksandar Markovic Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @gmail.com) Content-Type: text/plain; charset="utf-8" Remove the segment: if (other_tc =3D=3D other->current_tc) { tccause =3D other->CP0_Cause; } else { tccause =3D other->CP0_Cause; } Original contributor can't remember what was his intention. Signed-off-by: Aleksandar Markovic --- target/mips/cp0_helper.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/target/mips/cp0_helper.c b/target/mips/cp0_helper.c index bbf12e4a97..de64add038 100644 --- a/target/mips/cp0_helper.c +++ b/target/mips/cp0_helper.c @@ -375,16 +375,9 @@ target_ulong helper_mftc0_entryhi(CPUMIPSState *env) target_ulong helper_mftc0_cause(CPUMIPSState *env) { int other_tc =3D env->CP0_VPEControl & (0xff << CP0VPECo_TargTC); - int32_t tccause; CPUMIPSState *other =3D mips_cpu_map_tc(env, &other_tc); =20 - if (other_tc =3D=3D other->current_tc) { - tccause =3D other->CP0_Cause; - } else { - tccause =3D other->CP0_Cause; - } - - return tccause; + return other->CP0_Cause; } =20 target_ulong helper_mftc0_status(CPUMIPSState *env) --=20 2.20.1 From nobody Fri Apr 19 22:17:43 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1593531012; cv=none; d=zohomail.com; s=zohoarc; b=A+SYJLG7Swg2riuEfR8Z2hlzSAKx+JLdWbL20Y2gEiqMG2NFEtB+8fjFyPO3JlgRIHbd1yjZSJ6YONNb4QDdW2+LBHHeUdd+iet9NZCcVUs4Z4DfCRtm+w94DWIOxhVNcIPa0JKyt7Oy6qFF60BDAFfyxjUQ6yaMQO3ZTyc/nbI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1593531012; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=TLroeih9NBidBGSg3FuKZ7ZAT7w/rCVSOE3rWqHtmeM=; b=WxqClLQT41S2IGn/Dp4ZsK8FseH4nWZao1jDZxiKvKNrhwM5QLFAI4MO9ic71hua+wQg6/68qYe+0ivJmNH+yUQld+82dIKkkBIohANC05IYgv8JHVFhJ+ahsI5BF6N6wRdQ5K+yHdv0vpFYZ0xWY6I8QMv5/V446A1ggHGAHQk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1593531012188785.9397161328826; Tue, 30 Jun 2020 08:30:12 -0700 (PDT) Received: from localhost ([::1]:55490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqID2-0007m7-OK for importer@patchew.org; Tue, 30 Jun 2020 11:30:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqI8z-0002UT-3D for qemu-devel@nongnu.org; Tue, 30 Jun 2020 11:25:57 -0400 Received: from mail-ed1-x542.google.com ([2a00:1450:4864:20::542]:45929) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqI8v-0000L8-9u for qemu-devel@nongnu.org; Tue, 30 Jun 2020 11:25:56 -0400 Received: by mail-ed1-x542.google.com with SMTP id d16so9973388edz.12 for ; Tue, 30 Jun 2020 08:25:52 -0700 (PDT) Received: from localhost.localdomain ([109.245.225.97]) by smtp.gmail.com with ESMTPSA id q21sm2272398ejc.112.2020.06.30.08.25.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 08:25:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TLroeih9NBidBGSg3FuKZ7ZAT7w/rCVSOE3rWqHtmeM=; b=e/oUX8PAqiaPwvLB5cvaxo3/vqvR+E3kbLPdscOKN1oV+gsLH736RMUnhFT2ERYOHj MfImHnGe1hyNARDkz8RU1wa6xyMGWwf2dIvNgABHqiRpfIRilRwuLOcqdGayTjJSAZol n3eDy1gM3INqsG/Aft7SRf1IqtNQ1Z/oPtF+ETfjzbTH70SqZD53Q2+y8I5mH4mBGzEf 2Ron1kJTZ/bStdP+S/ztV4TzNjSZVPCHprfK0Jq7wT1Tcj2CE7vPPXqD6vlmsdrOqHqE 1xjnRqQkNWZ4p2E+7grGb5yFD7e1gAL/iJhb3LlGHrhMLz+6UN1EP1mqibP9fCuTv3in PUAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TLroeih9NBidBGSg3FuKZ7ZAT7w/rCVSOE3rWqHtmeM=; b=BaaADASqU0qpyfYNIzYVUgxgW1z7lh6cWYg1xBY3UYUzPA6DQgYZV5EV3hNwPO230n jxJcvoQcolA+J94jpRUkAP8xXHwf7rqDMAHE/G29RILPJp8D9ywCsd1eoD1kmegVl9l8 jFbnsv8arLqzgVaCjTC4gGXltVD4czuAlVq0sd2lQ7kKjBHZmYzNjiUNEzAiVVLD5Dhp kiJY9ZElgv3i6P71o9E8jusxChHKdKb7OzlnaafUbtOCNtCCPI81c4PeGXdsrl35G/cB TOkFvs7icuCSUQwWUUvFGLfP0+yCoiE9zM7azxcqCYpkOEkVfIDBIV6ZtAFByZrV81HF 59UQ== X-Gm-Message-State: AOAM532TNa8Oafx8NxcWZIHYm0ux2AI1GSM6Dxe9FSPv5uHx/tNFbAqb f5GXa45G4WsxU73jcQcNXYNShAk2 X-Google-Smtp-Source: ABdhPJzoN2qbY23cOps0MCaj3wf4E/IBgo9c0a/YJbEI8xcKQPUuN8eCUD3SsiaX16RNHEHIPFx/RA== X-Received: by 2002:a50:ce45:: with SMTP id k5mr24037894edj.80.1593530751259; Tue, 30 Jun 2020 08:25:51 -0700 (PDT) From: Aleksandar Markovic To: qemu-devel@nongnu.org Subject: [PATCH 2/2] MAINTAINERS: Adjust MIPS maintainership Date: Tue, 30 Jun 2020 17:25:31 +0200 Message-Id: <20200630152531.20657-3-aleksandar.qemu.devel@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200630152531.20657-1-aleksandar.qemu.devel@gmail.com> References: <20200630152531.20657-1-aleksandar.qemu.devel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::542; envelope-from=aleksandar.qemu.devel@gmail.com; helo=mail-ed1-x542.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: aleksandar.rikalo@syrmia.com, Aleksandar Markovic , Aurelien Jarno , Paul Burton Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Paul Burton and Aurelien Jarno removed for not being present. Huacai Chen and Jiaxun Yang step in as reinforcement. CC: Paul Burton CC: Aurelien Jarno Signed-off-by: Aleksandar Markovic --- MAINTAINERS | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 5d8acf8d31..908431580c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -213,7 +213,8 @@ F: disas/microblaze.c =20 MIPS TCG CPUs M: Aleksandar Markovic -R: Aurelien Jarno +M: Huacai Chen +R: Jiaxun Yang R: Aleksandar Rikalo S: Maintained F: target/mips/ @@ -1061,7 +1062,6 @@ F: hw/dma/rc4030.c Malta M: Aleksandar Markovic M: Philippe Mathieu-Daud=C3=A9 -R: Aurelien Jarno S: Maintained F: hw/isa/piix4.c F: hw/acpi/piix4.c @@ -1080,7 +1080,6 @@ F: hw/net/mipsnet.c =20 R4000 M: Aleksandar Markovic -R: Aurelien Jarno R: Aleksandar Rikalo S: Obsolete F: hw/mips/r4k.c @@ -1103,7 +1102,7 @@ S: Maintained F: hw/intc/loongson_liointc.c =20 Boston -M: Paul Burton +M: Aleksandar Markovic R: Aleksandar Rikalo S: Maintained F: hw/core/loader-fit.c @@ -2677,7 +2676,8 @@ F: disas/i386.c =20 MIPS TCG target M: Aleksandar Markovic -R: Aurelien Jarno +M: Huacai Chen +R: Jiaxun Yang R: Aleksandar Rikalo S: Maintained F: tcg/mips/ --=20 2.20.1