Message ID | 20230306003954.1866998-11-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | 6b258e74aa68695b1448fec0ef15cee75b8b6f24 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp1574430wrb; Sun, 5 Mar 2023 16:48:58 -0800 (PST) X-Google-Smtp-Source: AK7set+ie0myFD/FW+oLFFVrFEIv6+hcFa4deXXxasbAScAy8ODm0tjD8kIsWwfpKIvutxLEWn5y X-Received: by 2002:ac8:5793:0:b0:3b6:5d23:8748 with SMTP id v19-20020ac85793000000b003b65d238748mr15721084qta.52.1678063738242; Sun, 05 Mar 2023 16:48:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678063738; cv=none; d=google.com; s=arc-20160816; b=Pw7l7/r2JucTw3DP+0W7OFtAiuD0aF5ZjsiiF5l7Jg78YOBQJ1hVLKydMAIdFnVV5S qs8T4uhSZFYEBC8Rj0HDCKbwzBIuiBVAhq4bGyYSxu6NHRu2hGpNDzytYJ7ELFLeYTUr c1CEps6mtVJBW60CyXta1sHswhTPclvjjAEkLfwSGhakmT6mKRSu1So7DpCZ2M5Eg5Mb De0rC9GI8fnrSblu+85ksZnEBA6I0uG1sUsoVoTPXsGp0iYdJrDNAeh0fPp6RfsiRBI1 d3odaci/CDK8IyB7u08XhcM0/WTvfbZY0T+U6+NcOJ0J6h8tl/EwIv1Mnryh/YgSmuo1 evxA== 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=07DvNEQN6ya7xMt+CBzeTMYjrYnBsPy3UDNRCngWab0=; b=TrOnBYL79umEkfVOy43rR0pShdfIWXMYAq1IAGDfoSw9AkEWdHyvkfixI3Sfr3/y5u FYF0xOfe8vqwh7MWfzrExJWtG1Slat0r6wB5xP5Y948mTUBIqYvkZQGWZFRtdxSZd1pL SUulO5cfSiBPi7AmpZ/ApcfFGakeC1U+I5zfeZBI0kar3KFnps4OW6r2Av9GNqA7BdQ2 P0KXlXb8kcamznbl28rmDBZ2lKduubBIqGU7frIG63+rs/sMhPU7wuGnE1DPqrcPmdRV Abz1v7JYL1v1tGtmTVCcnTstoqtvS8Ef3vVI6/DVRmf7GogmeBQSrMTAldpmPkGGVLnI Qysg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Et2xGaVA; 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 u19-20020a05620a0c5300b0071d74b4478dsi7038213qki.589.2023.03.05.16.48.58 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 Mar 2023 16:48:58 -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=Et2xGaVA; 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 <qemu-devel-bounces@nongnu.org>) id 1pYytn-0004SQ-Qy; Sun, 05 Mar 2023 19:40:19 -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 <richard.henderson@linaro.org>) id 1pYytc-0004PD-Ky for qemu-devel@nongnu.org; Sun, 05 Mar 2023 19:40:09 -0500 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1pYyta-0006Zj-JS for qemu-devel@nongnu.org; Sun, 05 Mar 2023 19:40:08 -0500 Received: by mail-pl1-x636.google.com with SMTP id n6so8512168plf.5 for <qemu-devel@nongnu.org>; Sun, 05 Mar 2023 16:40:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678063204; 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=07DvNEQN6ya7xMt+CBzeTMYjrYnBsPy3UDNRCngWab0=; b=Et2xGaVAX4RotZoTpBUqE3H/QTN0Xqsl5bZh4XT4WnqAe6S6WKmMyWCAdZ4WjUvRhM nt4o3+avggl98xAGo5GqLV3jhZtu2PL19DVNr2rmD77qXbWtFJq5iT0Tuf1swsc4Y6fY tTkLYVs1f+ypwmNeT9R2SwabCOQQ5eYoWI7GnYKT4PbHv4+QWbtkKMrCxLdMXd9Hdg/X N/II07RDDOxZcMv/9B6B8zfjhiIpdPHa1VSXSCEodBcTk63/rWo4Tk0Ho8T+CNylv1Ms OY5xHWzQ2VH2GK/yhBV9hZrNR99wZ9NN4sJs9bI6tgQx6hn/Ak2cTnBUyf0HLaJdnxXK E1zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678063204; 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=07DvNEQN6ya7xMt+CBzeTMYjrYnBsPy3UDNRCngWab0=; b=Za/l+Y3eC+DrsoLiOcmLeo5dSW9q5pLnHVmUC5B9SB/ufntdIzGHoLJQt04bKjgoUo 7t24WqUKTHwPhiW7Oiys3JhTVRq51cb0a8QYt0IetAmGy86hXcz2DPd22hEiylwJmpn+ qf3GQwvo8e59JnDsMjoobe31o06c/UhIfVDwV/39HlbxHjBQbDhuOpqOGdFOrzSLxom6 cIe1d2SZ0xCk45mxRLMUOyy6+Hs7b1LI4YeCmtJ3jZJ9/gTneOLt5DrmosKWDHPrky6S Iu2VoNm4GgYFOn2gF54tP/kJ65Kkd5PGMshizAj7wGHaIT4Jz/7vMIAyl10kKmMRKHv2 0Q0w== X-Gm-Message-State: AO0yUKXa+BgEKFNGMd15xdGTP6HU8wPMmqkqoys0qwsUtqmeuaska1fp tMGrkgY8Z23cxi+8bnSznTTl/abF+f9edrXbs8xlVA== X-Received: by 2002:a17:90b:2241:b0:237:29b1:1893 with SMTP id hk1-20020a17090b224100b0023729b11893mr9005258pjb.46.1678063204640; Sun, 05 Mar 2023 16:40:04 -0800 (PST) Received: from stoup.. ([2602:ae:154a:9f01:87cc:49bb:2900:c08b]) by smtp.gmail.com with ESMTPSA id r13-20020a17090b050d00b002372106a5c2sm6567901pjz.37.2023.03.05.16.40.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Mar 2023 16:40:04 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PULL 10/84] tcg/i386: Mark Win64 call-saved vector regs as reserved Date: Sun, 5 Mar 2023 16:38:40 -0800 Message-Id: <20230306003954.1866998-11-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230306003954.1866998-1-richard.henderson@linaro.org> References: <20230306003954.1866998-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x636.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: <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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/84] tcg: Include "qemu/timer.h" for profile_getclock
|
expand
|
diff --git a/tcg/i386/tcg-target.c.inc b/tcg/i386/tcg-target.c.inc index 028ece62a0..4060a35cf6 100644 --- a/tcg/i386/tcg-target.c.inc +++ b/tcg/i386/tcg-target.c.inc @@ -4218,6 +4218,19 @@ static void tcg_target_init(TCGContext *s) s->reserved_regs = 0; tcg_regset_set_reg(s->reserved_regs, TCG_REG_CALL_STACK); +#ifdef _WIN64 + /* These are call saved, and we don't save them, so don't use them. */ + tcg_regset_set_reg(s->reserved_regs, TCG_REG_XMM6); + tcg_regset_set_reg(s->reserved_regs, TCG_REG_XMM7); + tcg_regset_set_reg(s->reserved_regs, TCG_REG_XMM8); + tcg_regset_set_reg(s->reserved_regs, TCG_REG_XMM9); + tcg_regset_set_reg(s->reserved_regs, TCG_REG_XMM10); + tcg_regset_set_reg(s->reserved_regs, TCG_REG_XMM11); + tcg_regset_set_reg(s->reserved_regs, TCG_REG_XMM12); + tcg_regset_set_reg(s->reserved_regs, TCG_REG_XMM13); + tcg_regset_set_reg(s->reserved_regs, TCG_REG_XMM14); + tcg_regset_set_reg(s->reserved_regs, TCG_REG_XMM15); +#endif } typedef struct {