From patchwork Fri Apr 30 01:15:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 429750 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp2116613jao; Thu, 29 Apr 2021 18:40:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5CXXKoIRIAE8lspIs9BU7MOBWSXCTFbdOi7qvq4ihTM16xAx3NNgAyvTuxcIjUT3DSwe1 X-Received: by 2002:a05:6e02:118b:: with SMTP id y11mr2123804ili.163.1619746813979; Thu, 29 Apr 2021 18:40:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619746813; cv=none; d=google.com; s=arc-20160816; b=x75KLXPriH9faeyLvscg8ggpJG3qKEorALvj8N4u4pKblCf6Sh1GDVRdwCzNImjxv6 K8akuCVC2pVmI+MgUO5PANBQfv3R/dSULVFg9ugi5DoV7TFjNIdCcSWbUxGpnHI/y2am L6t15SG2MtbocTKL4rhwoVJn/WLwlttZYjTcdkdUANCdLuTV33LUO38ac7uKkto+nYLG WcViGZaxaeklbsphWQC3e1k+YvObkgoGBDfkNJ4KPfvtsXujK9DnA0su/qzqT9k7nmVW pn42SFI8aXYcNqhw+SGgAixhlWlhohjc0QF+78YBedr0gTFOyZ/fFB6/VKp4+zIVj4tg R7xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=bDPAFOrvmgC88VNXvSpZ5tv8Dk8WkejS3jZX6LUfMs8=; b=025GDJsPisllEmEhL3sbO802kD4WlKzVOqu9QujlUDu/ciN6Zfz7Q8L9qRJnpDhoY7 aMMpvnijq4RfrhMHS3luYDts/ORE5XQxkdn0kciRR+6B/LKgsYtTx+tqlvbsOSPY690F nbXMKw/ifbV37CWIEAoeYPioFv8tr/4P0SusHBxEAJqz6GbL9J/MEjxxFu/tG3fVyS8+ sVmTcWHvMIFRYA0Jaio/4Zeks+Y2fdc1MGTViJC0tejpmXsSU7+DSeXFN0/zup9wQIQh jZuUooEefGUkkLvLaxD8NSo8PweAD6F5uibX1pTMzzLA0dPkUc8cWj9GKIu7+sQkHIEg 7P+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=exnBhI0j; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id t13si487121ilu.145.2021.04.29.18.40.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Apr 2021 18:40:13 -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=fail header.i=@linaro.org header.s=google header.b=exnBhI0j; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:40298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcI8a-0004ON-I8 for patch@linaro.org; Thu, 29 Apr 2021 21:40:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcHld-0003WI-BM for qemu-devel@nongnu.org; Thu, 29 Apr 2021 21:16:29 -0400 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]:35443) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcHlF-0007fF-6m for qemu-devel@nongnu.org; Thu, 29 Apr 2021 21:16:28 -0400 Received: by mail-pj1-x102d.google.com with SMTP id h14-20020a17090aea8eb02901553e1cc649so866302pjz.0 for ; Thu, 29 Apr 2021 18:16:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bDPAFOrvmgC88VNXvSpZ5tv8Dk8WkejS3jZX6LUfMs8=; b=exnBhI0jueUZ1eqVm0yxwzoCIOMV6jrzuxixHkluaKXf6hKogJPTUbfDdrD6Cys4lj nal9pjlkJcI6HlIJdSpvd76AktFW3jZiNMocCYPCOXk54bcdtte0gH1dVuPGB0UrihdC nm6I7/zUDvd2Brg/9uL7Z07JMbhzMIoWQbj+H7qvGaQVJH56d2SQEH/dtFYaxaCd4kzI fpYJW0bPg8h226Y44UsNCH6XMrYmRLVovaLRyNI8X6HSCXh79ptVjPYXRCHrTbbRSYE9 ghlHYG9eI0GJYDaK94cERg01JP/HFS5waB46SgvpfGrSPlbKZwTDeMtB69XzrJE0QBXU hZEQ== 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=bDPAFOrvmgC88VNXvSpZ5tv8Dk8WkejS3jZX6LUfMs8=; b=H/DyCJSh+hO67SEVgUkgPKSCEn5RWEiZYU7TIw82E1sN2Ns8oYZMqzpvjUv6fOFyq8 gjixHqkvIw1D1O4c71+DmHI82NDUndv+iqp3S/hzHcCt5vJOSHnHtvlY/nF2rWNf5LN1 oxA/KMgXtPtir3MeMhIsw/AgCMuJHGBrLXBg26/bkBKdYWZdrdQfXuxS1iOjSwU1x1jx 7kZlEpaDFEVN2Gz07Ei+tGRVS9L5qPRbBolABCLdp0MHG5/ECesZzfi8UV15LRBUe+2F OS+AIMj7n5Ggl0ndX/rEmnJjogi3aUq3y/Uawo5Qkjog/rnXeoiog55KIrf1YnMjRJAw Wj+w== X-Gm-Message-State: AOAM5331iBFSzMMrivx2JeiHRD0HablwDc+iGP1ipjEnApHm/W53TPxB jKOuy5L+wQQTXkvx79KTVQjGeHtuFW2+RA== X-Received: by 2002:a17:902:44:b029:ee:9107:4242 with SMTP id 62-20020a1709020044b02900ee91074242mr2715882pla.18.1619745363860; Thu, 29 Apr 2021 18:16:03 -0700 (PDT) Received: from localhost.localdomain ([71.212.144.24]) by smtp.gmail.com with ESMTPSA id 1sm161277pjx.46.2021.04.29.18.16.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 18:16:03 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 28/30] target/ppc: Implement prefixed integer load instructions Date: Thu, 29 Apr 2021 18:15:41 -0700 Message-Id: <20210430011543.1017113-29-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210430011543.1017113-1-richard.henderson@linaro.org> References: <20210430011543.1017113-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102d; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102d.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=unavailable autolearn_force=no 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: f4bug@amsat.org, luis.pires@eldorado.org.br, qemu-ppc@nongnu.org, lagarcia@br.ibm.com, bruno.larsen@eldorado.org.br, matheus.ferst@eldorado.org.br, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Richard Henderson --- target/ppc/insn64.decode | 15 +++++++++++++++ 1 file changed, 15 insertions(+) -- 2.25.1 diff --git a/target/ppc/insn64.decode b/target/ppc/insn64.decode index 5a82ce375e..4198e5c8f3 100644 --- a/target/ppc/insn64.decode +++ b/target/ppc/insn64.decode @@ -29,6 +29,21 @@ ...... rt:5 ra:5 ................ \ &PLS_D si=%pls_si +### Fixed-Point Load Instructions + +LBZ 000001 10 0--.-- .................. \ + 100010 ..... ..... ................ @PLS_D +LHZ 000001 10 0--.-- .................. \ + 101000 ..... ..... ................ @PLS_D +LHA 000001 10 0--.-- .................. \ + 101010 ..... ..... ................ @PLS_D +LWZ 000001 10 0--.-- .................. \ + 100000 ..... ..... ................ @PLS_D +LWA 000001 00 0--.-- .................. \ + 101001 ..... ..... ................ @PLS_D +LD 000001 00 0--.-- .................. \ + 111001 ..... ..... ................ @PLS_D + ### Fixed-Point Arithmetic Instructions ADDI 000001 10 0--.-- .................. \