Message ID | 20231102013016.369010-80-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:538f:0:b0:32d:baff:b0ca with SMTP id d15csp597499wrv; Wed, 1 Nov 2023 18:46:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHOuv2+ksnzEbspxu7cY8gAOMj31oBHFSAU85r05U8KO/prPRcYp4aBWG4M+ZnaV6cV9V9K X-Received: by 2002:a05:620a:15a4:b0:774:3540:89ee with SMTP id f4-20020a05620a15a400b00774354089eemr16844144qkk.61.1698889619277; Wed, 01 Nov 2023 18:46:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698889619; cv=none; d=google.com; s=arc-20160816; b=USLd1odytEgXI4xMhU3Rsy0Ujp129D9szYN7P2jo/QXcsbubGg7UG2uRfL85+tw4WK 1hyDr4lq4eKTZM9Az8NrOqD5Ofsqw26OnluvaAVCfmjFwmki94wfvnAr8WwQvmXUXLBM rsLDa1yRRh3LLbVtuvqznFsRJbQO+XIElIF8x5iYSnGBudEYYcYaZHOvtAQGxTuqYYjQ joqYES2BzqRq72o527Bt0CTr65vNptQUVjWhQoa6a4o9CF5wFm/jWtlh0ZOD04uQFKX6 BPOTeV9Rb57VC/NRRhAW+tgE8FHbAXnRPW5pLb2ufnDdv0VnDH6XxDktXr9Rxm8xnGEP TZ3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=IyMEcH+XK8Eknr0xQsBIB3lMxzOGskoIpAWKROo/aKo=; fh=f2WZoDMBYjCKWIIOoPI+rQtxlv4fmOm4u+dLdQLqpOk=; b=IXaX61AIDq1zFCmuHl5o/DRw/w177gvDJlGGtSSws+Te7uav30T0+8rTI1Lpfw5avW qbf5/RNtDgHtXeq0c18T4UyIsGUSfvEVvjpL1WsUZ8dDBRoMyqAu5PjIJ87GzsUUUsel Xzk0kOsdB3AiXurEro1hA5Dx4WqTpesg5BYpoKf/vjs/y0neoFwOiJgcJGe6STScJC6i l+FjkTU28IStk9BPza40ZTMyVNPcwt7H2juGWZK7MCrRp9nKCTUPSfSE8rDsou8ILZ52 IErwfn7n36SnSjyw+y4ZrMVvi/A5oUdpsSPpA6Ex9q41MmB7NWG3Ia/x2QBN3+bacvR9 nmiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="yEfILW/1"; 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 Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f18-20020a05620a409200b007759a519e0dsi3692629qko.73.2023.11.01.18.46.59 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 Nov 2023 18:46:59 -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="yEfILW/1"; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1qyMcb-0000Hy-ML; Wed, 01 Nov 2023 21:35:45 -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 <richard.henderson@linaro.org>) id 1qyMbN-0006iQ-8r for qemu-devel@nongnu.org; Wed, 01 Nov 2023 21:34:30 -0400 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1qyMbJ-0002DP-Ou for qemu-devel@nongnu.org; Wed, 01 Nov 2023 21:34:27 -0400 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1cc329ce84cso3327915ad.2 for <qemu-devel@nongnu.org>; Wed, 01 Nov 2023 18:34:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698888864; x=1699493664; 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=IyMEcH+XK8Eknr0xQsBIB3lMxzOGskoIpAWKROo/aKo=; b=yEfILW/1+/WndNI6j3OMo2Tj4lACg0VHUJ135DiukZHCSBhC4b22O0jBxBGYDyavHE Unp2dgKLbHCuNIZDVCjg3kUtNJQfwY0QUmTyFnTFzzI0W886E+c5T1z7WfspJQg8GTss Adb4Olg0eIBWs5qCED+aM2yN30Th/Zf7UiJb/VmuszVt/9LGItrgPZmlgE7DrFUaIA1k W05/sZR8Ym9qTW0lOtWVhXJ5wTKyxhiY9CWy9dHmpZGXqSlvQBHLPfrq0Oh5lv/8UKAU IJKBBGHH333wsiiyN+J3pG+EtKfXeIfjTamxIv0Tv13Vn75YP+q5sqqVuC404KXZRmy0 aULw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698888864; x=1699493664; 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=IyMEcH+XK8Eknr0xQsBIB3lMxzOGskoIpAWKROo/aKo=; b=QbJWxkoOSs+HJccmjJf464Ek/hcThiDdN/lzEgQP3g611CWrQeIkJLvcucJz34FgpU 6hX85suzs4wVGkUbldbxs4yHm6ASLONPutKpbyhEGOJ92HJZPHhdMfzWF0O6zjd6na6m mRzhIFVQSvjfLZnutMnJMhDRn67wYf9peVskcgOfbSkf8zUbDTXRP6qJlDgfBZL4rdfA sEji2G/ZrfqIJ94L1BkLjX26E2dAAqha3KI5CaBW6by9rlqASXIFTh0E3/UTVlxKbS1m JoN0N0IaMXViRkgRm2gfwZdMnnv/RiTLKwHOExOVkf4lbEYHS4HtX+2wQijmr29wi+xs 688w== X-Gm-Message-State: AOJu0Yxz9dNYw46iJslTnMvRMwUraxoYZ0pi8y2ZO2x4q8hjxjNGA64f NH07g/H3VimdzzPuMVUtwrXLuNGCXfNqjETHt18= X-Received: by 2002:a17:902:e5c2:b0:1cc:3fc9:7d09 with SMTP id u2-20020a170902e5c200b001cc3fc97d09mr13100680plf.15.1698888864317; Wed, 01 Nov 2023 18:34:24 -0700 (PDT) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id t2-20020a1709027fc200b001a98f844e60sm1918125plb.263.2023.11.01.18.34.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 18:34:24 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: deller@gmx.de Subject: [PATCH v3 79/88] target/hppa: Clear upper bits in mtctl for pa1.x Date: Wed, 1 Nov 2023 18:30:07 -0700 Message-Id: <20231102013016.369010-80-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231102013016.369010-1-richard.henderson@linaro.org> References: <20231102013016.369010-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x636.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <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>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
target/hppa: Implement hppa64 cpu
|
expand
|
diff --git a/target/hppa/translate.c b/target/hppa/translate.c index d9595c5c7c..f7621590e4 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -2060,7 +2060,13 @@ static bool trans_mtctl(DisasContext *ctx, arg_mtctl *a) #ifndef CONFIG_USER_ONLY nullify_over(ctx); - reg = load_gpr(ctx, a->r); + + if (ctx->is_pa20) { + reg = load_gpr(ctx, a->r); + } else { + reg = tcg_temp_new_i64(); + tcg_gen_ext32u_i64(reg, load_gpr(ctx, a->r)); + } switch (ctl) { case CR_IT: