Message ID | 20250117182456.2077110-47-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6000:cc8:b0:385:e875:8a9e with SMTP id dq8csp844100wrb; Fri, 17 Jan 2025 10:31:16 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUeinjNnhezR4bq37vc67AQMPRKPy6KTtYA5XQnnn1X6uM+3fA+srHI4/CxexmhMpJhtKY5dg==@linaro.org X-Google-Smtp-Source: AGHT+IEheTEh8Y7im5hFlguy7pZsIGJ67QFaKoQi21U0t5TULUXEUw3SJCbmYBX6EppJYS990xrO X-Received: by 2002:a05:6102:570c:b0:4b2:5c1a:bb57 with SMTP id ada2fe7eead31-4b690cc50camr3798357137.20.1737138676545; Fri, 17 Jan 2025 10:31:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1737138676; cv=none; d=google.com; s=arc-20240605; b=VRfz9yX805fp1X9wfNMpLOIe9lFuzSxsfLF/+YYpeYToEmLX2L+xqH/wEzBJu3rVP9 UlCq5C7b1Ab57xegZwI8ZF2cJr07IKKt5FyMZBO6Hasoj+1RDn1NdEHm29WPoeO9eOHw tIlzDfS7RXWtUTCYIdfuPbhbNT2DrTSn1uy+z1yOi/GoUGzGa+yyBeN8zWOq3oFLg9j6 cQROgTqz/v3gqhlxzJC2yX5TVTIyREcdqxU3UpKnk+NO1cuOs+UkG2rrt6Ud7A0t7YpM tE04pp9TXjfvpM7UbXR0jwnTpq6urDioqsM7Db8zYDWpbaaF9KWIZAtXnHANktSMJ+Qc ILXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=oeoxNnJvMgFI3q4piiiduYU8RMXHoVGq3FrMzVqgkyQ=; fh=kQadAhxV42GJ3cd2VUw1RyURv/zJQGvmUdF7iLEVTtc=; b=JaumivTenLDBbchXgGtL2jfL+M/8BaudZTiXNnaN+0AtNdw3zdWkno/yoqSAuF5vpE sVB4qzPEJpz9t2o9z7AmEscUShaO9UU3H9cewFuzYqM/5EVQeBx7Ax8vAqasGSq9xAfP DKgobq1sA0A3h+1Op29l7LwbkNlWPpyGIHkHyOTDLnK7svb+Dsh4MSvw01TmV0KjxatR SEgGL+bba4wETZwy33qYM4DvdcAzOWpSikzASZcsbGKwwW3ydk2HzT2g6nCyZTosAXxD F5qOTGqrrN4k0QBMz+bSyde45FYhVI1Rp7kmhiHe6NfIf2ElLg0B0eJUlgdAH5qZya1E W9fQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xegajlZ4; 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; dara=neutral header.i=@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 ada2fe7eead31-4b68a1b0008si1160561137.122.2025.01.17.10.31.16 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 17 Jan 2025 10:31:16 -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=xegajlZ4; 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; dara=neutral header.i=@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 1tYr5h-0005Cp-Ep; Fri, 17 Jan 2025 13:29:09 -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 1tYr5a-0004th-MP for qemu-devel@nongnu.org; Fri, 17 Jan 2025 13:29:03 -0500 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) 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 1tYr5Z-0000Do-3u for qemu-devel@nongnu.org; Fri, 17 Jan 2025 13:29:02 -0500 Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-2ef6c56032eso3302762a91.2 for <qemu-devel@nongnu.org>; Fri, 17 Jan 2025 10:28:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737138539; x=1737743339; darn=nongnu.org; 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=oeoxNnJvMgFI3q4piiiduYU8RMXHoVGq3FrMzVqgkyQ=; b=xegajlZ4Y7RdAIVY7r3vpR1gj167f/fztGcHm+eiqQZKPqvmC30NB8p92eq05+auCH qkVjSUOlUNFvebuehNp/wlQKXZ6KAykBMWW1H68dD0SBvHWupBME6J2mAhclJ8PBk8WO Y6sstZNzugb5q45qiNLh79TmCibKjz/OZEPNogg61fMwFAP1P0TFLYGluFasz3JlpDMf RSw9E2feIxJT1eovjyeUUlR3hsZ4CTqFqBpmPyfvx4gjWQjudslXDZtUPjNGF8ViPdKU +j8b+3mYW+tH6zrz0vRBewGCdm7n3ceBIKpPsDp3OW6sLuyWBKWSz2aJmcaGP1O0XVe4 KUbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737138539; x=1737743339; 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=oeoxNnJvMgFI3q4piiiduYU8RMXHoVGq3FrMzVqgkyQ=; b=bkgtnsCVNqFKrzgoQCyHDyLJhMI9mcSQsVBV647hvGeGdUavJGuc2KkbxFvNR9gX1q 4oukd7P6evI6ZLriZB7oRfu8mXmy0OK9yuuIgpUdXNSDiV7L/P31qKNWKCZHOSWHVQmS c6RVJFY6kUEmoDeN4JvfH9bWJ623+NlcSJ5hLJLCY2eLATQLJfg8zKmT6SRq7+KF7fCZ V1qlV1DCFOQd8klH6pFUXzcTPi5cWKX2Ud7jvPU+oAr/h0VCMsxzwcO7OPrZHVmHztnz ljwenxiF5nX8dTSIue78vn/ZehPXRDcYMw6OkWfGKj87f7c90VSJ2Ru/B7cuxzd/t/T0 L4oA== X-Gm-Message-State: AOJu0YxGCtZqLh7Rzn5Ki5p15xwNIutWA/G6x8b0yZPMzgwW5kGJZTsl EQs2Hdxhvo7IFaeHsyG/hP5lOTQ9ZhP0seVPsyLdxqOFkWKjup8AB56n4e7y8aHphKY0rO++S/0 y X-Gm-Gg: ASbGncvNcvloO5hCo7yhJquJyD/F5r0XvP/BcRuM47pIrY8RC0Zi9V6FehoooROwNn8 NnV5UYm5HTv6GDqJfRRHUBgetaDsKgGwj0FOMDVM4lmpbKrcGgiZRLpwO/OoZx9h0xFYPSZTlKA ceHrIcig3+YD0isEu6yiTBPBiIunZgk2I49gHjvkzsh1PKW8GEIHoP4YZDbZgJtvYG1/AWMGcTn vtjQF1QC4tm7rFzjc2QPLp98/gB8YGJP7Bj799kux8eAcojq+EisJRlZk1qW+45W+X/REP2IbWQ IQ0ttDov3yxS4ys= X-Received: by 2002:a17:90b:1f8e:b0:2ef:114d:7bf8 with SMTP id 98e67ed59e1d1-2f782c4ff33mr4792978a91.6.1737138539086; Fri, 17 Jan 2025 10:28:59 -0800 (PST) Received: from stoup.. (174-21-71-127.tukw.qwest.net. [174.21.71.127]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f77629bf96sm2614105a91.36.2025.01.17.10.28.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 10:28:55 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PULL 46/68] tcg/mips: Expand bswap unconditionally Date: Fri, 17 Jan 2025 10:24:34 -0800 Message-ID: <20250117182456.2077110-47-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250117182456.2077110-1-richard.henderson@linaro.org> References: <20250117182456.2077110-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::1032; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1032.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/68] disas/riscv: Guard dec->cfg dereference for host disassemble
|
expand
|
diff --git a/tcg/mips/tcg-target-has.h b/tcg/mips/tcg-target-has.h index 5dbc63cef6..d3d874ffd1 100644 --- a/tcg/mips/tcg-target-has.h +++ b/tcg/mips/tcg-target-has.h @@ -51,6 +51,7 @@ extern bool use_mips32r2_instructions; #define TCG_TARGET_HAS_muls2_i32 (!use_mips32r6_instructions) #define TCG_TARGET_HAS_muluh_i32 1 #define TCG_TARGET_HAS_mulsh_i32 1 +#define TCG_TARGET_HAS_bswap16_i32 1 #define TCG_TARGET_HAS_bswap32_i32 1 #define TCG_TARGET_HAS_negsetcond_i32 0 @@ -78,7 +79,6 @@ extern bool use_mips32r2_instructions; #endif /* optional instructions detected at runtime */ -#define TCG_TARGET_HAS_bswap16_i32 use_mips32r2_instructions #define TCG_TARGET_HAS_deposit_i32 use_mips32r2_instructions #define TCG_TARGET_HAS_extract_i32 use_mips32r2_instructions #define TCG_TARGET_HAS_sextract_i32 0 @@ -92,9 +92,9 @@ extern bool use_mips32r2_instructions; #define TCG_TARGET_HAS_qemu_st8_i32 0 #if TCG_TARGET_REG_BITS == 64 -#define TCG_TARGET_HAS_bswap16_i64 use_mips32r2_instructions -#define TCG_TARGET_HAS_bswap32_i64 use_mips32r2_instructions -#define TCG_TARGET_HAS_bswap64_i64 use_mips32r2_instructions +#define TCG_TARGET_HAS_bswap16_i64 1 +#define TCG_TARGET_HAS_bswap32_i64 1 +#define TCG_TARGET_HAS_bswap64_i64 1 #define TCG_TARGET_HAS_deposit_i64 use_mips32r2_instructions #define TCG_TARGET_HAS_extract_i64 use_mips32r2_instructions #define TCG_TARGET_HAS_sextract_i64 0