From patchwork Wed Apr 24 17:09:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 791522 Delivered-To: patch@linaro.org Received: by 2002:a5d:4884:0:b0:346:15ad:a2a with SMTP id g4csp948037wrq; Wed, 24 Apr 2024 10:10:57 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXBYQb0N2/kLcdCNULzXLep5ukSpDk4C8dnJbPqrTYEJ5LFI/8DxjPE+77AIfQeOkBRDMEZ4idft2danlDae0ff X-Google-Smtp-Source: AGHT+IH1mpnFI2FToLcuhs+qnyDNe5OumlO+ArYQCy46mOKIpKpnbe3GT6xAzwCHLZcxvyHn8TF9 X-Received: by 2002:a0c:e789:0:b0:69c:c6f9:ebaf with SMTP id x9-20020a0ce789000000b0069cc6f9ebafmr524713qvn.12.1713978657265; Wed, 24 Apr 2024 10:10:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713978657; cv=none; d=google.com; s=arc-20160816; b=hZyeKiUp2jcMFN3R4jSWQaLPw3RjWTV+HPYDl0fGikiIMZzK2AH1s7+AEN0mgfU1rf U7rGx2yIfxcvy/Dv4gKeEVBvPkNw9RBsnD7sIUDOwmSvaGB81Cf6+5mlcA7jYObWYYYx Q4r/rAMM2gTRm+enx1IErdApRBu2v3RZTMPxGRvtMUWdbmeD7wHzC3kdg+8Rtlh9ckrO yahtfQ6X9aPZZmmccN6zJ9CCvFVBdzUsloPnlRUXVaEveIf2ZLr8lEC3qtxHy2y93ret Dozdg6O22/r0MSjCUmaVpO7D80gPie+9HjOu1sgVhCev6YSCqjCNc3tffVztswfHnLaf /Nbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=I7t1gFcl5wjkEgXtae5fqCcFMtN5cGYEa/oHN0TDXx8=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=tUo6opbfGJObccVQPVeyIM0rkl89vGGnIkgwR1KZnCLh5lpjldNvaYLwUSh6XrYZgd bbTuub67w71//xtg1OL3dqoc1H4KlYcD+OuREoAr6iMFfTu5pWGd9r8Q5WCsGaiEUKai E5NR++ojtmzAcr5gKjWC5Wk3eNQALVTY9macf3y0IoVakpq7EoAyy+l4KRYSKe7+md4V GHGTLUYNjssjntR/RNzCLjRrdIp6x5EDY/pWCba69KQNUC9a8nB/LP1Z7JV9uL+qChZA +f7VXGTsylnSyCWZ+nv0OyPZniwSp+JTxKLtasIvuUAi+2Ss9kaqn9h3eW1JNq4Nkhau vJoA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dIrB4V2h; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id r12-20020a056214212c00b0069b51882422si15438142qvc.525.2024.04.24.10.10.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Apr 2024 10:10:57 -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=dIrB4V2h; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzg7P-0001xb-LO; Wed, 24 Apr 2024 13:09:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzg7O-0001xD-Ap for qemu-devel@nongnu.org; Wed, 24 Apr 2024 13:09:14 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rzg7M-0005Lu-LS for qemu-devel@nongnu.org; Wed, 24 Apr 2024 13:09:14 -0400 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1e4c4fb6af3so1220785ad.0 for ; Wed, 24 Apr 2024 10:09:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713978551; x=1714583351; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=I7t1gFcl5wjkEgXtae5fqCcFMtN5cGYEa/oHN0TDXx8=; b=dIrB4V2h2ZyXVNH7GGF7HLheOPgMiVSuNihZpgSaV/zTgDyeY54qMZpk+zO7yOe4k5 chnKTsSn2OAyvphneuLlbMAiNxl4Y+tVpFU3lxqnBiCWGeRJwyyGx9EiRlevhJeXRn+7 T50/RTVCeQ1JQL+VIHIHvhYzyFjMx1v2szMwtZ7+rxgPB5w2Obgw/tKRqzrZxt78UzRU HAWTLFrDwrYBIoDNzmELMyVDnUq9a1Gs2gpHhghYo9bfnmD30RbZM9YOKsSX0zDS6UQV eRGWieLg6Rc8jAkZHhUMPMpe8l9D9RTt3DAi6r/5M1drOUb3YcXSdc6bBlzFwIvbSMT3 Bp9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713978551; x=1714583351; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=I7t1gFcl5wjkEgXtae5fqCcFMtN5cGYEa/oHN0TDXx8=; b=neF83km3mTxRHuIn4i4TUgEl1i0GE3N4Y8CgpZrOcEFFDAUkD1pwGb8Gmuf544+XvY Vb1HOhvn0HQBQBQj7j3wpJTohtIfXyTgjFIMtpriIBOadjO7/Bvt1bVY1F9L7Rw9KvBl cqnijs6fffEgO2lEJOgSMdOG3ZL2MltvSis6KYSdCSkSA5H0KUHd0TxiwjjHdDB2faxR VSj7lBVM6Rijo4Rtl6obazR5ItoNYqSb5m1J1mJF+C3dYxFlzDl+PHd0dutU8nXEQZgH Wq7jSakUmfklLPylikC2JtxZz0gDbjm5FoyqjOd8Ic8M9EXoWSHe0+ojP3vQ+CjrH9oe /DnQ== X-Gm-Message-State: AOJu0Yx9S4hiqAnanuIz/10R5Wbt/nbapnWtUouoG//iq7mtQ1bxe66L NpA8kramXkRq2fFDH5WMmvPFIl0VjU+q15q6za/8pI6vEGvg2AXHthuEwHlA4HE4pe5lpEBIHnB w X-Received: by 2002:a17:902:cf05:b0:1e5:5760:a6c1 with SMTP id i5-20020a170902cf0500b001e55760a6c1mr384070plg.21.1713978551009; Wed, 24 Apr 2024 10:09:11 -0700 (PDT) Received: from stoup.. ([156.19.246.23]) by smtp.gmail.com with ESMTPSA id u8-20020a170902e80800b001e0b5d49fc7sm12215489plg.161.2024.04.24.10.09.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 10:09:10 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 0/5] tcg: Misc improvements Date: Wed, 24 Apr 2024 10:09:02 -0700 Message-Id: <20240424170908.759043-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org One patch to allow two output operands from gvec expansion, to be used by target/arm for updating QC. One patch to record the result of the generic breakpoint search so target translators do not need to repeat it. Three small optimization patches. r~ Richard Henderson (5): tcg: Add write_aofs to GVecGen3i tcg/i386: Simplify immediate 8-bit logical vector shifts tcg/i386: Optimize setcond of TST{EQ,NE} with 0xffffffff tcg/optimize: Optimize setcond with zmask accel/tcg: Introduce CF_BP_PAGE include/exec/translation-block.h | 1 + include/tcg/tcg-op-gvec-common.h | 2 + accel/tcg/cpu-exec.c | 2 +- tcg/optimize.c | 110 +++++++++++++++++++++++++++++++ tcg/tcg-op-gvec.c | 30 ++++++--- tcg/i386/tcg-target.c.inc | 78 ++++++++-------------- 6 files changed, 165 insertions(+), 58 deletions(-)