From nobody Tue Apr 8 22:20:59 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.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=1571005688; cv=none; d=zoho.com; s=zohoarc; b=mS8LExOzYbcwthdGFXIm07ZQKULn/S+Wdj9jQzrHj+D56Eg36bCUrqKGb7J01866quUQjeomIun+eA1z+pzH4xxvnoG59F+BBiCO57FgK0AckHRll7/PNV0wgah1+rdhsQoLhDI76xMPjGm/KSJryFeTOg7gQFOVaIzkc5JfZOM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1571005688; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=Sg+1BNlUkd68yFef7dmXTKIYOAnPSKke44HmN/xx+JE=; b=ISZioAftD0B3wfTP4r7z1meYZ64OVgd1DdU5ekrY5rJtOGcQMawJfgeXlcOwoKF0mdKzEu3nD3TwqNBV5xN8A0WFrIa+u06cU7ts7pI/Mta3DBxRqy1KMpcXhfD7EVyISsXpZVZU1U/2LWr1rjmySP98mAKp+COTrreCO4wtbsg= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.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 1571005688982237.12120182174726; Sun, 13 Oct 2019 15:28:08 -0700 (PDT) Received: from localhost ([::1]:43062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJmLG-0008Jp-NP for importer@patchew.org; Sun, 13 Oct 2019 18:27:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51143) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJmJE-0006Y7-65 for qemu-devel@nongnu.org; Sun, 13 Oct 2019 18:25:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJmJD-0000pY-8f for qemu-devel@nongnu.org; Sun, 13 Oct 2019 18:25:52 -0400 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]:40899) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJmJD-0000pH-34 for qemu-devel@nongnu.org; Sun, 13 Oct 2019 18:25:51 -0400 Received: by mail-pl1-x631.google.com with SMTP id d22so7128579pll.7 for ; Sun, 13 Oct 2019 15:25:51 -0700 (PDT) Received: from localhost.localdomain (97-113-7-119.tukw.qwest.net. [97.113.7.119]) by smtp.gmail.com with ESMTPSA id d76sm15940571pfd.185.2019.10.13.15.25.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Oct 2019 15:25:49 -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; bh=Sg+1BNlUkd68yFef7dmXTKIYOAnPSKke44HmN/xx+JE=; b=YZ8KyX3n98lPMRNNLxxbBPtqyQL+1RcyxjRf5ebHPt72kCDP9DJtVKJavJ5IbNwa8K l1ou1neAD1J/+JgaxgefntvOnjbt2vNEEZ4LxQW8CXzLozaAupm2gVx4M/FUtov6fZfI HeCSm8yjIf5pKayh4AFiC+KmvrEZCP1qCdzmPuTYKfHl30mmb2GMUtqC3VvMm17YDBS5 NHAhPnAzCgGVeGLrjbxWN4G5s9O8Twkh26N9sWBsGHRtqHNJW8UYuJEw3TRQzRoEOpMT +Os8j7p0Fstwn3auy8jY8ou1p186LHNYgwJg7e+wbHhIl/yFuRqoRooh9oN0Z2n+LWVx ccXw== 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; bh=Sg+1BNlUkd68yFef7dmXTKIYOAnPSKke44HmN/xx+JE=; b=RQAYr1hewqjAt0+qfKOJkJ3cjBl23pA5clUkY0JtKNDWPKZDQGQ8hnJ5kLOcP9EBv0 sZI72VxNoNdxjI2m+dbXbBh0QIxyYnCYZM6p9s6uG6tWO9VjdPP8Ka/2gf7XHJyL/gbK +Xr8o8u/hdZPdwfbvnCe5LtSGjllGFPtVquIlII0RDfv3jBRcc5qes1u+5L1gISq2sJh S0rVjXh5MN4QnvbaOgHj356DgwUVndBfsih/8LGWGm5y1RPS0VAJ2TVCmBPr0bLW/F/F /EcPXqk1jgSPLXMGWMC502+TzLhUcwImu/TYy2sBkMZxeBowOJNlGxK/yI2Yn2DjBZ89 AnxA== X-Gm-Message-State: APjAAAVRZoKXbjgVCdjlD3EBlVf09uJ2PyOWNeQ+zDoASlfp0a/lLey9 tf7WeAABOjW1gNOEbReR9ibvJATFf4k= X-Google-Smtp-Source: APXvYqxT0jyAUdpBLWRRKQl6FWsqo3B9nVCW+zXTFI+ebzNXOeCKpcSTG6sK3orJr5ucNBAfnah65Q== X-Received: by 2002:a17:902:6b02:: with SMTP id o2mr27028052plk.302.1571005549768; Sun, 13 Oct 2019 15:25:49 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 02/23] tcg/ppc: Introduce macro VX4() Date: Sun, 13 Oct 2019 15:25:23 -0700 Message-Id: <20191013222544.3679-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191013222544.3679-1-richard.henderson@linaro.org> References: <20191013222544.3679-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::631 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: peter.maydell@linaro.org, Aleksandar Markovic Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Introduce macro VX4() used for encoding Altivec instructions. Signed-off-by: Richard Henderson Signed-off-by: Aleksandar Markovic --- tcg/ppc/tcg-target.inc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tcg/ppc/tcg-target.inc.c b/tcg/ppc/tcg-target.inc.c index 9d678c3bf1..8dc5455600 100644 --- a/tcg/ppc/tcg-target.inc.c +++ b/tcg/ppc/tcg-target.inc.c @@ -319,6 +319,7 @@ static int tcg_target_const_match(tcg_target_long val, = TCGType type, #define XO31(opc) (OPCD(31)|((opc)<<1)) #define XO58(opc) (OPCD(58)|(opc)) #define XO62(opc) (OPCD(62)|(opc)) +#define VX4(opc) (OPCD(4)|(opc)) =20 #define B OPCD( 18) #define BC OPCD( 16) --=20 2.17.1