From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4DA3BC433F5 for ; Sat, 23 Oct 2021 20:11:57 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D7DA760F6F for ; Sat, 23 Oct 2021 20:11:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D7DA760F6F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:38974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meNMy-0006iH-0C for qemu-devel@archiver.kernel.org; Sat, 23 Oct 2021 16:11:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meNLw-00056e-CN for qemu-devel@nongnu.org; Sat, 23 Oct 2021 16:10:52 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:35652) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meNLt-0003yJ-Ee for qemu-devel@nongnu.org; Sat, 23 Oct 2021 16:10:52 -0400 Received: by mail-pj1-x1035.google.com with SMTP id n11-20020a17090a2bcb00b001a1e7a0a6a6so4566369pje.0 for ; Sat, 23 Oct 2021 13:10:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=prWij6CtLt4dBaLtGrZ2Di3j2b37ltg836PDAVkHw1s=; b=vTJzYyJUUhljQOF71XaVWFTfaSvOWv1+fQH0L7QPiE3Tmeo2V+Q+Yb+4+I6kmj4KsL B+bq6u3zyXqWGlwcDYe6fQmJGIGAVz08GqJHKNN7ufQuZURHZaKnOHZQhEPcCzA/LVJN Bg44PXXciOM9hW06o9zjhwLX3RrBoPuh/uhmGvC4Vaznbjc25wNGYUyPsyeQae8g1StB H13dQciwdMOhkyfk+lqwNPdpGjUDuXBrLcDmTxHaP/3CtXHAOyEkP7d/EixlwByB0dpT bv1JEHWIfqhnqTj421zo8nXON6Qu8vTz77qG3hajQG9kypj59mSq4dV6FMEBg6p3h/WP ZpdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=prWij6CtLt4dBaLtGrZ2Di3j2b37ltg836PDAVkHw1s=; b=OnhpLPg5z7v9ShmK0EikNpJbqQHm2XyDHGvGqtqZrh/XB4G8DBm7hpeGfa0jd9th7p Fc+2UEOk1l1nIL209gj7LQ6YeizJ2Z6pc0drB9OtP8W2JfV9p7SSeDbE+Sp+Uc3ybjIP kvRNWvy3NHqseCEEb9hxxh1JSSSqNjgTHH1/9HaDRmL6lq1IgxTFHnSCPbtAD1mJeWIA xZTJ4voNMgb0JZHz4raIxraeUovUfOhpLHZR1pR8/eZyq5A915VMDn6lsWt6hJ/Aueh8 fbKuWxP4KYXUudlV51wnq11+rJMyv4MZbp17+Q7uwwkIxTZQ4cD4R37Jv1M7k+CnWNDL NrKw== X-Gm-Message-State: AOAM532BQDoPDA9bGjrEfRl4qnXSsXqmeWubhh8jAWUeuDb/Av04zrfi Kkx1Ibd5bmvnnyV/tui3RcJGig== X-Google-Smtp-Source: ABdhPJyp/2SRXZIwjZvCwaEMLGsh56RVuFDf9s9890wBBSv4Up0uO01Ws39YsSy0Q3dL4NoFbqrUAg== X-Received: by 2002:a17:903:20d4:b0:140:f4c:5c05 with SMTP id i20-20020a17090320d400b001400f4c5c05mr7506564plb.21.1635019848035; Sat, 23 Oct 2021 13:10:48 -0700 (PDT) Received: from [192.168.1.11] ([71.212.134.125]) by smtp.gmail.com with ESMTPSA id c25sm13771739pfn.159.2021.10.23.13.10.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Oct 2021 13:10:47 -0700 (PDT) Subject: Re: [PATCH 20/33] target/ppc: Introduce REQUIRE_VSX macro To: matheus.ferst@eldorado.org.br, qemu-devel@nongnu.org, qemu-ppc@nongnu.org References: <20211021194547.672988-1-matheus.ferst@eldorado.org.br> <20211021194547.672988-21-matheus.ferst@eldorado.org.br> From: Richard Henderson Message-ID: <0eab04ca-2e7f-eb35-710c-9ff9c032c6b0@linaro.org> Date: Sat, 23 Oct 2021 13:10:45 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211021194547.672988-21-matheus.ferst@eldorado.org.br> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1035.google.com X-Spam_score_int: -38 X-Spam_score: -3.9 X-Spam_bar: --- X-Spam_report: (-3.9 / 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, NICE_REPLY_A=-1.781, 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: lucas.castro@eldorado.org.br, "Bruno Larsen \(billionai\)" , luis.pires@eldorado.org.br, groug@kaod.org, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 10/21/21 12:45 PM, matheus.ferst@eldorado.org.br wrote: > From: "Bruno Larsen (billionai)" > > Introduce the macro to centralize checking if the VSX facility is > enabled and handle it correctly. > > Signed-off-by: Bruno Larsen (billionai) > Signed-off-by: Luis Pires > Signed-off-by: Matheus Ferst > --- > target/ppc/translate.c | 8 ++++++++ > 1 file changed, 8 insertions(+) Reviewed-by: Richard Henderson r~