From nobody Wed Nov 27 19:50:51 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=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1697835245; cv=none; d=zohomail.com; s=zohoarc; b=ZGM6PvzIIKVhzjvEHTS9kX7r/klOhgwl2us6oDuLscQOPcnHQNJD2mooX1HfZ4FGCbnj9B/LgzLxSc2OOmMYcyClJpFn+uFy2TkMNiaMRpow44mN2FiAfsZe+lEQcoN+RBvVwennzt/HE7HJgq9tpG4glDJeo12XBLEWMsUdlFs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1697835245; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=Eb3lHT3qpP27fmh9TI6JGY9d7TBx7N43aA+xXi4r9Co=; b=R7CmfmQF9a1Xh85Etsn3i8lZZG9e8Y57TRq4amGg1kIi20YovKATdlnnIQrB0hKuvRajnwwsh/5vJ4j6vLVF2HY+dG5i4e4nIk89JB713LIcyWEJei2educTD/Qw1muq71btd/fR9g4JMo1LRpxi2loUsCsPfNdxxqn/CMRVRKg= 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) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1697835245416917.5399119168129; Fri, 20 Oct 2023 13:54:05 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtwOr-0001nC-FS; Fri, 20 Oct 2023 16:47:17 -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 1qtwOo-0001h6-A0 for qemu-devel@nongnu.org; Fri, 20 Oct 2023 16:47:14 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtwOm-0001AF-Ou for qemu-devel@nongnu.org; Fri, 20 Oct 2023 16:47:14 -0400 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-6b36e1fcee9so1239532b3a.3 for ; Fri, 20 Oct 2023 13:47:12 -0700 (PDT) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id u7-20020aa78487000000b00694fee1011asm1946775pfn.208.2023.10.20.13.47.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 13:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697834831; x=1698439631; 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=Eb3lHT3qpP27fmh9TI6JGY9d7TBx7N43aA+xXi4r9Co=; b=TFs8g1IMaDKU5O77WWQ5PquWmkqvplZs54zCixeiBIkSuWfAqoqvikGQLymYvw7iI+ sMi4/5MIDeDLi6w4Govl9wLZ+HppFEh0wLcVS+1C26pT8ORVjmPfTOowhBIfn5SQ3/9u R9DHwZIDKakdFO12PKP7Wd0SEj7kllKTT064EV4Juv0icw574kpBp3YsVB12E4VWoMwR 30eZmyTECWNSYdugi44ssuTn1TOSXE5e1t7HnKpyUbZzBgnCoL+eAqYZH7QtBHQZwBUe FURx/RDKdIT0wMDW7sRJS7HzYdlaUKLlTk8VTUezvQaWhiiZDMy90gyxQYHl2WEujnf1 nwNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697834831; x=1698439631; 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=Eb3lHT3qpP27fmh9TI6JGY9d7TBx7N43aA+xXi4r9Co=; b=n29p04AVBqCHaUAvqithDmZADlvXZV3RTf2GGiG91XK/s4epiS+lxOPz6HXxMJEKri 7+zValMzKDQdAgNMBW8sjRHXzzumH57j1Opji7lkH9NKaPqTzPtMBQJWSPqurCzsyJXW QECppOrB3fE+48cFaZnWxr/ix01wWLFYzKSVuEEERbsvXRtLzx+BDw9XviVIprMm0Lib x904ZtlpfFmgo2KTdtJaggKKK8Vae9d93IBj4YqfB1zovCzzoC2vNkgcixH5/9cI0aiO EPYVdZLpNofw182FIECyRy/khJT8GFIgObalJIhhgPUaXp0cZJNtSz2JQ1sE/Ux5rBfu 5r5A== X-Gm-Message-State: AOJu0YxGswlB74Aa6Nbo0jwZSuqlcDCDk3LhFZMUpP8UdHeDxiD2p/S5 2ER2Sc0FpKnzb+3bZjPbeDLx0oRPqbTQWiD7+xI= X-Google-Smtp-Source: AGHT+IG4yKJYOGUNP9IlchSxtzOqeKdDjQdQsdVhUx91FzMmiMx6RDbTAUK7GvoCQksyuYfv7/vCWQ== X-Received: by 2002:a05:6a20:7fa5:b0:15e:b8a1:57b9 with SMTP id d37-20020a056a207fa500b0015eb8a157b9mr3609527pzj.24.1697834831469; Fri, 20 Oct 2023 13:47:11 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: deller@gmx.de Subject: [PATCH v2 43/65] target/hppa: Implement CLRBTS, POPBTS, PUSHBTS, PUSHNOM Date: Fri, 20 Oct 2023 13:43:09 -0700 Message-Id: <20231020204331.139847-44-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231020204331.139847-1-richard.henderson@linaro.org> References: <20231020204331.139847-1-richard.henderson@linaro.org> 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=2607:f8b0:4864:20::435; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x435.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=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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1697835245689100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Richard Henderson --- target/hppa/insns.decode | 2 ++ target/hppa/translate.c | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/target/hppa/insns.decode b/target/hppa/insns.decode index 6f0c3f6ea5..ba7731b517 100644 --- a/target/hppa/insns.decode +++ b/target/hppa/insns.decode @@ -381,6 +381,8 @@ bl 111010 ..... ..... 101 ........... n:1 = . &BL l=3D2 \ disp=3D%assemble_22 b_gate 111010 ..... ..... 001 ........... . . @bl blr 111010 l:5 x:5 010 00000000000 n:1 0 +nopbts 111010 00000 00000 010 0---------1 0 1 # clrbts/popbts +nopbts 111010 00000 ----- 010 00000000000 0 1 # pushbts/push= nom bv 111010 b:5 x:5 110 00000000000 n:1 0 bve 111010 b:5 00000 110 10000000000 n:1 - l=3D0 bve 111010 b:5 00000 111 10000000000 n:1 - l=3D2 diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 05fe5bf7fe..4dccaff687 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -3746,6 +3746,12 @@ static bool trans_bve(DisasContext *ctx, arg_bve *a) #endif } =20 +static bool trans_nopbts(DisasContext *ctx, arg_nopbts *a) +{ + /* All branch target stack instructions implement as nop. */ + return ctx->is_pa20; +} + /* * Float class 0 */ --=20 2.34.1