From patchwork Sat Jun 29 13:00:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 168157 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp730146ilk; Sat, 29 Jun 2019 06:08:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqywNKgwwAM7CK1E1H9zg3HtBS0J+qeGlQlDJpci+ydQixzmwFHhVJBdE7lNhLZEh8hvKXgL X-Received: by 2002:aa7:c515:: with SMTP id o21mr17611303edq.2.1561813713786; Sat, 29 Jun 2019 06:08:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561813713; cv=none; d=google.com; s=arc-20160816; b=cCgydNhDTYzgNmOX1Wv+dzPEnuyVyJWM8WzppRpeTzA+o03SMIzSnzndVuZdbcQxiJ KaiMW/iATwXucihp5ptG9CxczNgztYaPQLvCvPrlEzIi+JhxDYGxt8QbK9oVF1aY2OlL EzQm9Jpj/8hLcKo9j95Gko880Dk1LphdfWQJ8hw45PqhCqRwdbQt5W6uQKhb9jPwUIo6 0b0Z/CVg288wxM966LWEQ7qTxwzXGk/bmrsaPOWcYHt+l34pWYi6qAydk9BxPQh3bTgI v6Mp4v1/HbZtiHljMLKcVfQB3HJc3hVOSTyBfBVSs8IkQB/A676+4AP4RTNxd4WUSTyn eiAA== 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:subject:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=Yi73HVrC7Sm+295fhwI84+ARAx5vKPXoBaHMWk35YIc=; b=qehWzoMYigQHOFEoaPI+TGkR2iKVlOWScKJedDy5ajrgu8WHHet879A9zWtdi2s0RP +hNtLaGv215wl4Z+VI6DX6dAKb1VvIeFgczsFynKDtqzf+b7tAkIcp4x/zym+DEtCTZo 7KZ1Tf/ilT6lvqyRM4Lw0w122lj7527o+WA3e7jTMYhKVV6Rgy98DtaDFWUlGmDNEVC4 vfSZw2F3wlSmShf74a6I8xBQqbKhhXQEpF1nFuQW3+IsHvG842Ev4fOhERbAGr/Qnj01 14TEdAmfwaVhidXl4ZhGDLEIyzCRiigDxvBFkasiDtMnIigZ6duRsfKRCD/2EbUV7Vb8 QMig== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=n2oCf4BZ; 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 hk6si3264933ejb.390.2019.06.29.06.08.33 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 29 Jun 2019 06:08:33 -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=n2oCf4BZ; 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]:39522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhD5k-0003k8-Ps for patch@linaro.org; Sat, 29 Jun 2019 09:08:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41296) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhCyC-0007zU-4F for qemu-devel@nongnu.org; Sat, 29 Jun 2019 09:00:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hhCy9-0003cY-0W for qemu-devel@nongnu.org; Sat, 29 Jun 2019 09:00:43 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:35288) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hhCy8-0003JK-JL for qemu-devel@nongnu.org; Sat, 29 Jun 2019 09:00:40 -0400 Received: by mail-wr1-x444.google.com with SMTP id c27so1283289wrb.2 for ; Sat, 29 Jun 2019 06:00:22 -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=Yi73HVrC7Sm+295fhwI84+ARAx5vKPXoBaHMWk35YIc=; b=n2oCf4BZdTLFgsDY4rI89eN6rlkmxOiwaUfxLgUfqwPB8jqBRHix0OkkHDH3lm1sq2 gTdvwf9Yw+pxAb6kQTYeUuqHCFsoLWPHTtaMA2bg1knkatDPMfhFWP/48ePtlyFisrDA vCwSvtvnd0bS2WB7IeEMartmTBjDJxPuX1ZnhyHIimWRwXKrCGM8gRNQgLSZMSeH+6lH UYxD3WnRVhl2VPCWRMfMEruShvA2ws2CMDTYXErAtdr5GY9jQq/lANORVpqYcgdlr+D5 EPDwOBy5B/sM6NmGfqDvVfajNfm6hrj0BuPxIpdBzzsxMi8euJPDk8jAiKJFxa9Ukbgk 2+kQ== 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=Yi73HVrC7Sm+295fhwI84+ARAx5vKPXoBaHMWk35YIc=; b=Wca8OM+OnKCh0e9t9550pcrwn6SEF3F9KO3SiY7rvf1NR+uIuI+2sQOTKoxu5bHQ4A 4Scel3B2OCJ7et4O2TzWRNM2PusM0o2scciOGxj3S43TonYwMyB8UiOggbUBIYUKtPiV YdkpZGj9xHmW9PPfPgooOr2AlJAsEF8tcFNA+1+lnoF6VHsR8+nXUd7iXgU+bSUzIcSF q5RgD8JvZ/AU93uIKJ2mCzrLBA+Knx6JcYtY9iP97NwCvx1xcPz/ebUVqFndU+de8041 5Mmjb/LXT43V+EXpOhfN3g/DJwCsE3DP4W2jEeG60EDkv7LkLa+hlU0QC9NUZ8DDRCIT Bf5g== X-Gm-Message-State: APjAAAVKnhHOfY0DtETohLZi3BhvI5kuqM3fHoIUT00v1h1I7piLWQKh 8T3oBMfNJuwMtat4QUiRTsEN4nn+2VnRRA== X-Received: by 2002:a05:6000:128d:: with SMTP id f13mr3287432wrx.39.1561813221047; Sat, 29 Jun 2019 06:00:21 -0700 (PDT) Received: from localhost.localdomain (93-34-153-63.ip50.fastwebnet.it. [93.34.153.63]) by smtp.gmail.com with ESMTPSA id d10sm4937676wro.18.2019.06.29.06.00.20 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 29 Jun 2019 06:00:20 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sat, 29 Jun 2019 15:00:03 +0200 Message-Id: <20190629130017.2973-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190629130017.2973-1-richard.henderson@linaro.org> References: <20190629130017.2973-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 Subject: [Qemu-devel] [PATCH v6 02/16] tcg/ppc: Introduce macro VX4() 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: mark.cave-ayland@ilande.co.uk, amarkovic@wavecomp.com, hsp.cat7@gmail.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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(+) -- 2.17.1 diff --git a/tcg/ppc/tcg-target.inc.c b/tcg/ppc/tcg-target.inc.c index 8e1bba7824..9e560db993 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)) #define B OPCD( 18) #define BC OPCD( 16)