From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E15DAC433DF for ; Fri, 15 May 2020 08:04:26 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A826C205CB for ; Fri, 15 May 2020 08:04:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WUjZqVFG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A826C205CB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49Ngsr29fWzDqP1 for ; Fri, 15 May 2020 18:04:16 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::243; helo=mail-oi1-x243.google.com; envelope-from=jniethe5@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=WUjZqVFG; dkim-atps=neutral Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49Ngqq11s1zDqC9 for ; Fri, 15 May 2020 18:02:30 +1000 (AEST) Received: by mail-oi1-x243.google.com with SMTP id p127so1430829oia.13 for ; Fri, 15 May 2020 01:02:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n9GDbpA7U1VchqMwiWjmvP2eRAu78guKudD53jqyXdE=; b=WUjZqVFGWj7H7p6juykr37cHi4BK9WCta7HTTrL+4qe4j/Mf1iEJDF69lFH1fbDire iVl/k/tI3o2MGleu1h5aTjMXsk+ZKIXlWXC+6DnHmgNWjTeuOJwaGi/EEFwQ5YVFAj5N jwDhqz4oZsMzQ5UK352C8MktmmIk1Vf7m6spHCB3NlrVxD3yE/OnElJhOE5SK6sQdGfP oAGWgIZdbbzZfj5rUP1x+ikPxMbrNkjiERUnWrgM1ZMsz4ZCnPU5Bz2Ddc4k8kEoOWeW duwJm+HaOAvIhCk2tveBNMzQuNLp3NYYHyRxezqwzitCasAYC6FDHON4oBmr887o/NlO kB5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n9GDbpA7U1VchqMwiWjmvP2eRAu78guKudD53jqyXdE=; b=ow/98T9TFCWk+LOsdSC+EEDbeRdZaNezRD5kZYxhTb4IJ7vzHcaC3f/8ZjEnmyyFwu gZM5+XX5QuyGvxKAvPYDce8NPEVZdq6rFGSWC+Z3htLGA7SqM7w3U7dGwiq6DCeilyIj Ja9mM280/YRYatpybnxOMMD4InO+JHFE4ps7XBJgzEOdpP7aSW+EZmJZyAGXI5qdqvro ClAZ2oUzZvEckqFJ4sZfyTTwz6ED+dQ3eOUuhSk8lUrxW74SGwxy4oQBzQQK1DElRaBm 4przxns22uYftJKz9mjlVgBLRLjwiQJguB4K7GQQaU4Vu1f+bACKTFBpA9sUGIVGQxqx PfrQ== X-Gm-Message-State: AOAM530wi+KxoARXJsD5gLEhveW8C3v+o8SBYsKyrLQZ1iv+IioSl9M4 vlFFTAvsvhW9CklaHGQNaM8BUqtqH1y95NYvOJaFhtDRSwg= X-Google-Smtp-Source: ABdhPJyWV2wm2qUzZadyFmVGpXemi3RjGozVlGK9lceII69iave5aEwFVRHyyjRWmjoSbQsLUu6y7XU0Q/oc9XQYaCA= X-Received: by 2002:a05:6808:3d5:: with SMTP id o21mr1328565oie.40.1589529748422; Fri, 15 May 2020 01:02:28 -0700 (PDT) MIME-Version: 1.0 References: <20200506034050.24806-1-jniethe5@gmail.com> <20200506034050.24806-31-jniethe5@gmail.com> In-Reply-To: <20200506034050.24806-31-jniethe5@gmail.com> From: Jordan Niethe Date: Fri, 15 May 2020 18:02:17 +1000 Message-ID: Subject: Re: [PATCH v8 30/30] powerpc sstep: Add support for prefixed fixed-point arithmetic To: linuxppc-dev@lists.ozlabs.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christophe Leroy , Alistair Popple , Nicholas Piggin , Balamuruhan S , naveen.n.rao@linux.vnet.ibm.com, Daniel Axtens Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" mpe, and this thanks. --- diff --git a/arch/powerpc/lib/sstep.c b/arch/powerpc/lib/sstep.c --- a/arch/powerpc/lib/sstep.c +++ b/arch/powerpc/lib/sstep.c @@ -1343,7 +1343,7 @@ int analyse_instr(struct instruction_op *op, const struct pt_regs *regs, rd = (suffix >> 21) & 0x1f; op->reg = rd; op->val = regs->gpr[rd]; - suffixopcode = suffix >> 26; + suffixopcode = get_op(suffix); prefixtype = (word >> 24) & 0x3; switch (prefixtype) { case 2: -- 2.17.1