From patchwork Fri Dec 16 22:01:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 634467 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1081836pvb; Fri, 16 Dec 2022 14:15:25 -0800 (PST) X-Google-Smtp-Source: AMrXdXvMS5xmCU6lRcADuRkI7O+L8ZM98WHumAq4yDRN/yXkdxS73qTOYI9YfgLGVRzJ8u2TnVxa X-Received: by 2002:ac8:5351:0:b0:3a8:2d6:521e with SMTP id d17-20020ac85351000000b003a802d6521emr1597428qto.37.1671228925126; Fri, 16 Dec 2022 14:15:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671228925; cv=none; d=google.com; s=arc-20160816; b=khlrPwPI88w9VCvyhbr9HjYQ6wwKdUrSQkCE77nocyDjz+XyO+Og4WeEmscIXrkVo+ UX7Dw0x/AA2XdrbGNipCxtTbokXkA71b2MtUyOSdBwqJcY3zn+nUVnx2ok2bOgXn/386 G7molDO+r6noFjkxm8IoyKnu5fMIpC+3cuBKie/F6T/qXciJrYH5wknjHkUGqJorY4pd gwYmoGtNIs+dOVrU9cycj/JzSpgpN027vr2dViY5yyWmE2cUwMDd+XCVToSmVtYcoAxY Dt7HGR8Dm6isLWDeEn3z4ma1D0dKMNETfrbZldii5X7a4UC9CinLUYL2vMQy0R/JTKlk qVDg== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bsYElVm876q/0ZqLXVB4BT+73LRGAkhD0hBlyKLVHqQ=; b=jMjXhuD0L6wCotXSBvL9tdxM/UwB4hkcK0+NolM3vnL+AratQDoS9fPfdqfw/mJ42G d4w1jy4WS6tuw/WKeHO8+YefI4zda8Nijs8JceVZKcXE5XMPyP/eJJkb4JRgLanI11lp 1xr5M2wRWVMaH/srfws+K8QeofPkAvt4HfX84OvEQI+vdriytIZyXgpFQEBYeIWhT0bD EdartuCJ0T9jiqKswzRr1lsvBVas2+no0E67VvQ7fds0B0LdCr4lXi7ztP1Bynd9030B n8W2CPT4U8LRDj33XdsSr8D0vFHnV7BXWw/VtImIqToAIK2cqhP88UP/gHIt0I5vl8of tu+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=flnntruX; 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 g24-20020ac84818000000b003a50df01c3dsi1521329qtq.390.2022.12.16.14.15.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Dec 2022 14:15:25 -0800 (PST) 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=flnntruX; 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 1p6Img-0005wU-Us; Fri, 16 Dec 2022 17:02:27 -0500 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 1p6Imd-0005vs-8Y for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:02:23 -0500 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6Imb-0004Y8-GC for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:02:23 -0500 Received: by mail-ed1-x52a.google.com with SMTP id d14so5435861edj.11 for ; Fri, 16 Dec 2022 14:02:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bsYElVm876q/0ZqLXVB4BT+73LRGAkhD0hBlyKLVHqQ=; b=flnntruX73Zzy0t/jROQZBggFAGJK88sjUttKc9z8TQjz092cNZRLRn74UUSbCMgtu RWSVq3NqNY2o/jn9IvKu6PWdO64WWHD6fQWziI10FCRaaFkri94Gm80Ve1xW3W/3HmL1 t5+sKIWTso2JyzoC2iBQ2z1VoBPj46YDe5Ay8/icRKATjGcpMNWfdYyadgS3JotVBH4h s6k1xcJ1RhrydnubUV5QzN//3TX3s0zDNk1w4swCd3vjEZwGdwcXuA1WOIG0ZZna6abl OXyBw7gL9c3jt7JH1H12Oz2paU6aXW0GORSMfLEKQlyrqVXPUmDdahQ2dEunvlno1wrv 4ozg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bsYElVm876q/0ZqLXVB4BT+73LRGAkhD0hBlyKLVHqQ=; b=GBuUC1ekz4CB+CGBhmQhbMPDMniruANcPJ+Xh00X0ZH0YYJ04OFAU3i9VJmCAzlWc8 oUvrcNariv/4HBlPGorNED95DDd/5eixS79jWJD/uvcOT+G7wecFqOCmYIrea7BJZ9qN VPaGzR4DdwG9x2qwajIDa6W04a+ld9wbSJCDJqf7f9vGXurAdOM/66MpHPlV3g0HCzsY HyXqoym0trSlYe2anLn3XzTUKlFGQYFdf3keDySFp4wdmlnTsMIgVgC7mteXZ4WvzjxN 2exwent2q+XAmmfD28QW0CKEpXIqHcitAynt4l8AMvxOC+n2smABNsgSo74MITtfbyNW rtoQ== X-Gm-Message-State: ANoB5pm4B4KzDlMSJUuSEFPZWnN6kKaQdy1hc6JUn6S8mT8yK+eQ+iwA aeiBzLiTXgpPf8+4bLTp5i7WfZZJmx3P684EeQM= X-Received: by 2002:a05:6402:448f:b0:470:25cf:99d1 with SMTP id er15-20020a056402448f00b0047025cf99d1mr16674901edb.31.1671228139536; Fri, 16 Dec 2022 14:02:19 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id cm12-20020a0564020c8c00b00463b9d47e1fsm1320516edb.71.2022.12.16.14.02.18 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:02:19 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Marcel Apfelbaum , Cameron Esfahani , "Michael S. Tsirkin" , Eduardo Habkost , haxm-team@intel.com, Roman Bolshakov , Paolo Bonzini , Richard Henderson , Wenchao Wang , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH 3/5] target/i386/ops_sse: Include missing "cpu.h" header Date: Fri, 16 Dec 2022 23:01:56 +0100 Message-Id: <20221216220158.6317-4-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221216220158.6317-1-philmd@linaro.org> References: <20221216220158.6317-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=philmd@linaro.org; helo=mail-ed1-x52a.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 'Reg' is defined as 'MMXReg', itself declared in "cpu.h". Signed-off-by: Philippe Mathieu-Daudé --- target/i386/ops_sse.h | 1 + target/i386/ops_sse_header.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/target/i386/ops_sse.h b/target/i386/ops_sse.h index 3cbc36a59d..68c88c9ee3 100644 --- a/target/i386/ops_sse.h +++ b/target/i386/ops_sse.h @@ -19,6 +19,7 @@ */ #include "crypto/aes.h" +#include "cpu.h" #if SHIFT == 0 #define Reg MMXReg diff --git a/target/i386/ops_sse_header.h b/target/i386/ops_sse_header.h index 8a7b2f4e2f..5631a6d1e1 100644 --- a/target/i386/ops_sse_header.h +++ b/target/i386/ops_sse_header.h @@ -16,6 +16,9 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ + +#include "cpu.h" + #if SHIFT == 0 #define Reg MMXReg #define SUFFIX _mmx