From patchwork Thu May 13 12:20:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 437325 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp284334jao; Thu, 13 May 2021 05:31:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+eYwweGkMMVochR7JYzgDgTT4Q0N+jwKMQIcBAtBykjIobGuvV92gU7JRe0tca2+SR/Wg X-Received: by 2002:aa7:d30b:: with SMTP id p11mr49658116edq.325.1620909068924; Thu, 13 May 2021 05:31:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620909068; cv=none; d=google.com; s=arc-20160816; b=C03uEFVFOb3+7BS16NPfdowhapd1m7vrH+XX/xjXizmt4yPG4PFgeQGxeaH/WXiwbx fIj7uCktA2Yp9o3A2im3mgEdh7jbq7TtJca3efrmRi7r0MFRcYTyJph14ad6qCT7ZapV cUidTR7MEgSEQyk3HAbeZSYMJhqW7Nj+m+CVuUZmcxVS+y94m+DbiS7ceUAvRfrjnbCi qCw0fWyDpfHy0ghMYA4N7qNeay7AeIJhFTy3ac1zWlbIn48psYzBL3hBTTytDuneCGC5 dv/1yEwFekE6FGO2UbIzrGbAcIG2sIPz0NTrwCYM14y4m8eG+1LepnCnAKC+biz/Kybt qpYA== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=kFL9t5OD5k5npkYQzODZhaVeI1U1ot/HuEftF5u8qrE=; b=dPeKdWvhXv61aIpr2xgt4SFJmpFeNk5HasMxx9tkwdK7D+ZH1kC0JDmQ+7JPzhF6G6 e4z2+EqWdrETQNFpSzEBNKzHmymkZlKDA9myMnLlxM2U5DUgMZg53clDru7xuXbwnf3O hKXxRSsdB8qufSJ/5nNRnT16+HR3nE1vlVgmDTzskNTBRLcpyk1HoEI+sakESNuC3NuR U8lEKCIAPEQrE464s1SSv3MKLphCsjTEd3L74nII0sY0RwZFUbyClfoghe1ocs/QTLmr iZBAK/ODnnWjz+pPq+3GxMLfgGYfCLw4+3d6yhJY33oR4wdFCTG9inQYQCKUqL0tDl2j qMgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XpxoNJX7; 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 b9si2987216edd.593.2021.05.13.05.31.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 May 2021 05:31:08 -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=XpxoNJX7; 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]:56086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhAUd-00068G-KO for patch@linaro.org; Thu, 13 May 2021 08:31:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhAKA-00063F-Bf for qemu-devel@nongnu.org; Thu, 13 May 2021 08:20:20 -0400 Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]:45018) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lhAK7-0001I2-3M for qemu-devel@nongnu.org; Thu, 13 May 2021 08:20:18 -0400 Received: by mail-qk1-x72c.google.com with SMTP id a2so25207965qkh.11 for ; Thu, 13 May 2021 05:20:14 -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 :mime-version:content-transfer-encoding; bh=kFL9t5OD5k5npkYQzODZhaVeI1U1ot/HuEftF5u8qrE=; b=XpxoNJX7OHbsr/jteGIygopw3Mu2MQVgWnJJ2iqxdCXXWApWdl+deN8uI/Y6qfQ97/ RNP+FASZl/XucgFHjmORk1batiCa0v0H0BfuluRBCO9nYbO9pFoiQYMLyzXaxRpHnAcS /id+rRrzPCLrtgX/RI+D9t9OQ2+4FtwI0/Z64CLt4/9AP+L7J6MeA5XVf+/zZem10bTL m7abie9cf5jWlhC35mLbiHuJ93P/VnspyBHL324OcLzsAOQDOBhQoOk31S2s3I722gXu HuAQhmrRdYnWaWrdNzPGGHGpXos/JKhVUu9ZR0qpQ6P633L/SoYoEP/S4raJzWVLh5Y4 8XLg== 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:mime-version:content-transfer-encoding; bh=kFL9t5OD5k5npkYQzODZhaVeI1U1ot/HuEftF5u8qrE=; b=e9FHWz2wOE3NKR9f9HDEAOlqpAS0vcp3popzGAE4AmkYVHcwOw4xp/ybd++skhNmDJ zNoW8Vg4TskPvhqqqX5ViByGCK8a5Wz8MCC6bIeYqF79UUUgblxQTDJVcxshymN3Pwr3 avl1lejB2uLS0rL+qffwH+0VsCdGAcQHfqC1eGjIkFLaprb5i/E5Jtusnk4d+EUmBPJm pxg2Hp5t963Z8o3/5ng1QAftjmJkfNcOR1wDvNACGY84H3ofslGOLcH9RRzobDc3YUqT 0kU9B3ecARczqXSmDzNIvmaVcMMOhh0xd3KXnw4cnjLK2S7AaawY1XsBuzCppMPPp4RY hsGQ== X-Gm-Message-State: AOAM5307deApOu23x/3fYyvcM68e0Ecvx0huhvVi5cYAdd1iY53d/IVn mLLnItZ0I0ItP4bcwVxq77ZKcM0Nasja87zzlSs= X-Received: by 2002:a37:ef17:: with SMTP id j23mr34117807qkk.392.1620908414259; Thu, 13 May 2021 05:20:14 -0700 (PDT) Received: from localhost.localdomain (163.189-204-200.bestelclientes.com.mx. [189.204.200.163]) by smtp.gmail.com with ESMTPSA id b3sm847262qtg.55.2021.05.13.05.20.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 05:20:14 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 4/4] tcg: Add tcg_constant_tl Date: Thu, 13 May 2021 07:20:08 -0500 Message-Id: <20210513122008.207491-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210513122008.207491-1-richard.henderson@linaro.org> References: <20210513122008.207491-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::72c; envelope-from=richard.henderson@linaro.org; helo=mail-qk1-x72c.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, Matheus Ferst Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Matheus Ferst Used in ppc D/DS/X-form load/store implementation. Signed-off-by: Matheus Ferst Message-Id: <20210512185441.3619828-24-matheus.ferst@eldorado.org.br> Signed-off-by: Richard Henderson --- include/tcg/tcg-op.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.25.1 diff --git a/include/tcg/tcg-op.h b/include/tcg/tcg-op.h index 2cd1faf9c4..ef8a008ea7 100644 --- a/include/tcg/tcg-op.h +++ b/include/tcg/tcg-op.h @@ -1096,6 +1096,7 @@ void tcg_gen_stl_vec(TCGv_vec r, TCGv_ptr base, TCGArg offset, TCGType t); #define tcg_gen_sextract_tl tcg_gen_sextract_i64 #define tcg_gen_extract2_tl tcg_gen_extract2_i64 #define tcg_const_tl tcg_const_i64 +#define tcg_constant_tl tcg_constant_i64 #define tcg_const_local_tl tcg_const_local_i64 #define tcg_gen_movcond_tl tcg_gen_movcond_i64 #define tcg_gen_add2_tl tcg_gen_add2_i64 @@ -1209,6 +1210,7 @@ void tcg_gen_stl_vec(TCGv_vec r, TCGv_ptr base, TCGArg offset, TCGType t); #define tcg_gen_sextract_tl tcg_gen_sextract_i32 #define tcg_gen_extract2_tl tcg_gen_extract2_i32 #define tcg_const_tl tcg_const_i32 +#define tcg_constant_tl tcg_constant_i32 #define tcg_const_local_tl tcg_const_local_i32 #define tcg_gen_movcond_tl tcg_gen_movcond_i32 #define tcg_gen_add2_tl tcg_gen_add2_i32