Message ID | 20191013222544.3679-4-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp3784192ill; Sun, 13 Oct 2019 15:30:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqwRZJJuLs0j6FcBIMi82n/YG0NZ9LZNEjX9B33PONzifvjj9lpmpOnARcEnEKG7jIIQ0WXW X-Received: by 2002:a50:c2c2:: with SMTP id u2mr25814130edf.133.1571005800211; Sun, 13 Oct 2019 15:30:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571005800; cv=none; d=google.com; s=arc-20160816; b=OrBsDuVfIkwDicFPcVAlsOSx7wStSOPIGcG4MDzzvTyKzco7cyIoKLwA3euK3RCspM 3VM/WSeBcW5jUfu+YoLqxZhYJGmo8P1iD/vtNxB4XtrEOpMcP1EVOAccMkmLcWbjFHsY L91TXF6zIGasqWf7dSteg01drLvbySVKU5k0ilPhtPx5PhNvZukq9FNpKSui6DE44+iv QEmxeVTaMreUYPZRZG118wobwnqsiu32nUYcgFYkPh2mH9Jdhe7K9sQscxg/0kRN+CyU IeBYJE7K8BvEVtceogkPhKlqEeWuLTg+7KOAOKmv84gaKy54S9eHqEmW0jY9ZSZmAvJ0 GNwA== 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:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=sv1evknX8Peb+IcRUAjULJcxFSuTafe0C9v6FcPm5oM=; b=pmWSMhMlOGqnprX8QWkdtS3Opp1vpIQGnfjCJL4k7iAUJ86cqsgIFxthitiL71+WDT sWh+N3WxBsepeyeTb+hIJzmM1yY52dRlKVrgOcvJh/UFxMvfJ5lle4eZjSJZxvwWjmS8 ljI4KNopiiXNQtxzRi/Al1I3sETtwiaFFay8Hk1JKhZQgoBKHABkq3EvF+qAOpXPcEno Zd29yao7LA1vLHUAmN+2RmSLr6+pv4rp4cSn0iNZFrxJCwvXWiLf00Nrzlj8nBEnUqBh FjdbpscqMPmmkpr01X9GxaCn1To5mXRDPV8M7YWMW9+ka/unaJUL/QDRSAvQmC70/GlQ 9hgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uIb76VCs; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f43si12694933edf.422.2019.10.13.15.30.00 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 13 Oct 2019 15:30:00 -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=pass header.i=@linaro.org header.s=google header.b=uIb76VCs; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:43104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1iJmNC-0001gf-FO for patch@linaro.org; Sun, 13 Oct 2019 18:29:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51157) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1iJmJF-0006Yu-HC for qemu-devel@nongnu.org; Sun, 13 Oct 2019 18:25:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1iJmJE-0000q3-HS for qemu-devel@nongnu.org; Sun, 13 Oct 2019 18:25:53 -0400 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:37883) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1iJmJE-0000pk-CS for qemu-devel@nongnu.org; Sun, 13 Oct 2019 18:25:52 -0400 Received: by mail-pg1-x52c.google.com with SMTP id p1so8931858pgi.4 for <qemu-devel@nongnu.org>; Sun, 13 Oct 2019 15:25:52 -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=sv1evknX8Peb+IcRUAjULJcxFSuTafe0C9v6FcPm5oM=; b=uIb76VCsl1soWpb1qxPnZH+6sTOZPftCWQMLh9nPBYuZkqHvfNbsK26XqWMMY5PTaA fuuepYcnSazkcApfmBUS2qxtEQrR5eHP+Dslv1c49alGf+QIjxkpCT08ver32at1pbOW 6mvwsYUhCh9uZH2ujTgiJkGZB74YNJgl7vsbv2A91lWfLSBBc03r9TA+nEflsGdgLDuk oVoTlvajf3pmo+I5IYHZS/5qwPZek7OE6U+0Q5FCPofzi7AlN0IEk2YDczsxbhzQMkjO T0JgjP4Sdx7CUUz20hMT8w8ofQs53+CNuAtBG7/kHurHRQfvJzmYr+/AeiUIF6i1TnaH zB2A== 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=sv1evknX8Peb+IcRUAjULJcxFSuTafe0C9v6FcPm5oM=; b=CLve6UlgyLNgJcvCq5thX5jqiUfkEb8i+afymgTRWBsrr6W4LEKe+rzelaEvP7lH5c K4llJEMZyzMfL3iTbbJ7jheFTPslI8A6TkF2Ba2f/mW4SA/L7tWtQk2OntJ0ifzkMbKc yoMlsjtLaNXThyhNTT5j2SOBaWCL9XKogWuqf30Pd0A/z/qt8IAIiWAsu6uNScS8qY0T 4IJSqrZdGJKNjXp2oEYw8rYLamORNWtNIS5Ulces2JDHUgY7UsVZjmdmLfEhLMqAeDB5 65Crepp2euNS6auFTbjRm9R0J6/ZpuFlQR0EagVZqQMbIbDJK2GzvlPsyLYDXqMXgNFY N+0w== X-Gm-Message-State: APjAAAVohbMQs4ITTK4SYy4sEBJFH7bdmXQ9ffoUdfJx4VPPRMFJQ15h mMr2sjq8XL2xMHgJcDDVdKiy8C4G0ug= X-Received: by 2002:a17:90a:fd83:: with SMTP id cx3mr32280029pjb.64.1571005551124; 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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Oct 2019 15:25:50 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 03/23] tcg/ppc: Introduce macros VRT(), VRA(), VRB(), VRC() Date: Sun, 13 Oct 2019 15:25:24 -0700 Message-Id: <20191013222544.3679-4-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::52c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: peter.maydell@linaro.org, Aleksandar Markovic <amarkovic@wavecomp.com> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
tcg patch queue
|
expand
|
diff --git a/tcg/ppc/tcg-target.inc.c b/tcg/ppc/tcg-target.inc.c index 8dc5455600..4aad5d2b36 100644 --- a/tcg/ppc/tcg-target.inc.c +++ b/tcg/ppc/tcg-target.inc.c @@ -473,6 +473,11 @@ static int tcg_target_const_match(tcg_target_long val, TCGType type, #define MB64(b) ((b)<<5) #define FXM(b) (1 << (19 - (b))) +#define VRT(r) (((r) & 31) << 21) +#define VRA(r) (((r) & 31) << 16) +#define VRB(r) (((r) & 31) << 11) +#define VRC(r) (((r) & 31) << 6) + #define LK 1 #define TAB(t, a, b) (RT(t) | RA(a) | RB(b))