Message ID | 20191013222544.3679-15-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | 597cf978926ca3a745482a11096de8d433c6be1c |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp3787925ill; Sun, 13 Oct 2019 15:34:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxLy3cfkPBM7bo09u7yC6AUyj+b3DArqP7jIZ8T2cSUVZGrU3TXRZQ0aun0+Eit9+mQJd/X X-Received: by 2002:ac8:2e10:: with SMTP id r16mr30768868qta.62.1571006076356; Sun, 13 Oct 2019 15:34:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571006076; cv=none; d=google.com; s=arc-20160816; b=Z2aCvSEvL3kcKxTLHXjWZkROuucGbUNkZB4D54RhpLn2gOeGSVlsh+KKB7PHbzgzPR 6cWn48e/fsA0qazLtqVqprqiahBgDXraS9qwFbglhws1cxixR+djdDFogMl8csjROIG4 emqrsLEsChMO9plvMx0FPOMCz14LajfYOWmg8HZCl2AAGRWZYjcKbAC7whichpFvcZFT QMu+/uxY+ysZJpmh5+UxyWudaJiv+upC5tGVQjLDJnijmkgKUZyIUjsPeD36IWO0uKYc XBFSquOSkQ1GDhw1ImNnQE3rmGWlJHdNSA7sPTuzrMuK+cm1OmPetBh37O7tTISZSZPx 7gtA== 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=eU6/QJc2xrfxfZzNiKt2RQhZfpRk2OkG4frCv/G8gNE=; b=vt0i6BXU9AOq74QC56wLWbp52UmTq8LAfeyz91q17QmXdDuuswvKIBlU3xK9a3+ZYJ U2h6BRjLTaXeqG5tZqN4c0xhSi3brrCVrQBQfdjLbL/dOLZrNC/wvBAE9R7BiA6l8BN+ 1eBBRO84xacuLculUIoikvyRjgNZl3eTzHFxf655IBmETQX87SUekS+55aoaMN/SVxVJ au5o1Fms/inQ8fSRw35AHT6K6oC19/tnE3d5/5LJIiT+yx78tWG+kiVMYqdSEESilVOE hiGQIVVoFPay/2dHclAvHRDrUHhboQfMTZ4qsgL8xSF5aIf/AM5EPE5tCrXnazc3BvfI p+Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D0n1MCn1; 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 h8si15688669qti.239.2019.10.13.15.34.36 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 13 Oct 2019 15:34:36 -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=D0n1MCn1; 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]:43178 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 1iJmRf-0006lf-DB for patch@linaro.org; Sun, 13 Oct 2019 18:34:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51301) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1iJmJT-0006wT-OQ for qemu-devel@nongnu.org; Sun, 13 Oct 2019 18:26:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1iJmJS-0000zE-Mk for qemu-devel@nongnu.org; Sun, 13 Oct 2019 18:26:07 -0400 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]:36556) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1iJmJS-0000yw-HE for qemu-devel@nongnu.org; Sun, 13 Oct 2019 18:26:06 -0400 Received: by mail-pf1-x42e.google.com with SMTP id y22so9268896pfr.3 for <qemu-devel@nongnu.org>; Sun, 13 Oct 2019 15:26:06 -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=eU6/QJc2xrfxfZzNiKt2RQhZfpRk2OkG4frCv/G8gNE=; b=D0n1MCn1OXfFigXAA5xSt0gWCnuQh0ZEPybHgCtzZJgA+letvrTa8Bg92b1PvV+rTe t8LJw4HT5JfnSsfLu3mK0w4Wa14Zwvf6lYC+67FhhgjAgjnWa4Gzn/idkii34qC45oOn OvP+BSP5mbP6pw5el8vj3D6h3OyOKcdYYx4yXKEoV4xTMs2PTzD/7A5AJCvW1EjDfSV2 sv9uAafgUZGHfmjnt2Wg7JVWxGV1r1rC+46WlX7Rqc0PrlaensGGe7lu/L7NWFvApOmU kgUJLMveDlNpGfHL0jM8NDh56ipMFMQZvc8HanMieBGSPiSWyA1OOMUshgdftntZX1at VCeg== 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=eU6/QJc2xrfxfZzNiKt2RQhZfpRk2OkG4frCv/G8gNE=; b=iCVP7vZTxBGrcPOgO5j+jmQhXbKJ+kQXJQUPDD3TayFU2gAkdNjh1H2F/I1jilS1xf uATqurUTK4eHOiNZIPF/IhaPDjgckwbHMYCY6T987Ua4tAJosT+Kl46dSc954GrYcaW+ zRovArJW2SuxUwun14FhC460aNOKIhnVgygkmNvXLTka7T/Dbik7x3xoqlufoY9DegX1 9KKaJbSGE9II/GdccXgKjzq1DQUeVksfnBcKpIexcbL0rx/LuGdNkolM/QGVRnosvFT0 VxUq7BNWT/5CXePxl9CssVY2pBVbODsyqzXGKL2gxfRgUMCVEuzEGeCCm8bzSLir6sOM fhxw== X-Gm-Message-State: APjAAAV2JX9HNvEQMXFSs1hDnVl5wSfJofGHAMeu3L/q3qYIKN3DPUXu 8t65I/vQBi6Efmh3EN23tEsIBPEfYwE= X-Received: by 2002:a17:90a:aa98:: with SMTP id l24mr32394179pjq.96.1571005564950; Sun, 13 Oct 2019 15:26:04 -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.26.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Oct 2019 15:26:04 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 14/23] tcg/ppc: Support vector dup2 Date: Sun, 13 Oct 2019 15:25:35 -0700 Message-Id: <20191013222544.3679-15-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::42e 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 d4b3354626..8a508136ce 100644 --- a/tcg/ppc/tcg-target.inc.c +++ b/tcg/ppc/tcg-target.inc.c @@ -3102,6 +3102,14 @@ static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, } break; + case INDEX_op_dup2_vec: + assert(TCG_TARGET_REG_BITS == 32); + /* With inputs a1 = xLxx, a2 = xHxx */ + tcg_out32(s, VMRGHW | VRT(a0) | VRA(a2) | VRB(a1)); /* a0 = xxHL */ + tcg_out_vsldoi(s, TCG_VEC_TMP1, a0, a0, 8); /* tmp = HLxx */ + tcg_out_vsldoi(s, a0, a0, TCG_VEC_TMP1, 8); /* a0 = HLHL */ + return; + case INDEX_op_ppc_mrgh_vec: insn = mrgh_op[vece]; break; @@ -3480,6 +3488,7 @@ static const TCGTargetOpDef *tcg_target_op_def(TCGOpcode op) case INDEX_op_ppc_mulou_vec: case INDEX_op_ppc_pkum_vec: case INDEX_op_ppc_rotl_vec: + case INDEX_op_dup2_vec: return &v_v_v; case INDEX_op_not_vec: case INDEX_op_dup_vec: