From patchwork Sun Oct 29 02:58:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 159320 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp1499492vqb; Sat, 28 Oct 2023 20:00:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEk4cVSVYft6bgDPu/8JxXNxCDKVYZXVH2KCv+FdQDBNiAuCSCDWd+IDBK6j7xqpPATb1dj X-Received: by 2002:a05:620a:370e:b0:773:fd71:6e7c with SMTP id de14-20020a05620a370e00b00773fd716e7cmr8343305qkb.59.1698548422198; Sat, 28 Oct 2023 20:00:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698548422; cv=pass; d=google.com; s=arc-20160816; b=bMx0o3vfW3HgHClNKuAyrJUuSu0OvUbY3kLGj/53pVkJsmVTSM1pEvJ7bUCNGf0Fn6 KWfE3SR2PvbfS1K3bvcLZ5R/yBdjzOq9NuyBgKon9MGbV5MnKAWClhkpcvCUg7d5TKNG 2OuchXd20HHaIEYSp4pxkA9ZdmekQfMwyIQTrdHDTGCbSACEjDI/+kgcn1gP6+J4GZhG 1KWpb9KjORfKjEImTGfReLbcXC9c95qMqJYf9ATymQRDKWFMKiRnsGpHHbafZ03KdYpI XpedBpe56UUfNYSdxujbJTjBXVuqtIhwtc7XDv6yGbceOJg+YUByKX/JiWZMxZ4JLpu3 gkxg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=y7xqIF1qheBnyd8AQkWyEi70QBrBa1idOxjZuWyULN8=; fh=2oHP7ozbx55HetactyfLqEMpVybYzEj+ZI/B0DnN3jg=; b=r1COZxx8FbW2TIeu3+J98r9kngM5ynMti1AIWL9zKsoc00DHv5zs5IjNYxsFKUz0K4 wbspq0pge35xVixotfeNzlCxs/neEzZCNuTRP4X4/JqIGZTValSVxWAH/9jbb1Mi7Sdd 5ivbQ/OEATr8MP+2yCuAgU4o9YrWISTKT7qgICmkGzblvBMUM3T/3VeeIyuMIUzQAGaH ecAW5BY5BBFQ9x9UxOxjakMtJybDQ8BPB2GFeDY+FssX4OVnmNBREgpwNEkWKzcPr3Nt l1nQexg07AXT/igtzovaLNNhVU47WGLR5aLf55AjTGh3eJsugpu4TTXdmNoNDyW3IWbW gVuA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OjqxaFuL; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id h9-20020a05620a13e900b0076da11658adsi3154724qkl.10.2023.10.28.20.00.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Oct 2023 20:00:22 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OjqxaFuL; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E94CA38618A9 for ; Sun, 29 Oct 2023 03:00:21 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by sourceware.org (Postfix) with ESMTPS id ACBF7385842A for ; Sun, 29 Oct 2023 02:59:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ACBF7385842A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org ACBF7385842A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::133 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698548397; cv=none; b=QUBxoOijM+Si1rLaJmKuCTPIAbyGZrcstacLhTGKhh5U6rqfMDGmWWuV33k3aTuaLAdw85gfjUJkSK0C0K9EJ8N3EJtIo+5jV3dSDtnp4GCDoN4osnzFNo7lot+pvbdgwAkKLC3KO74hVn5xc2JgmT3QcivYudq30NjY/sshObU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698548397; c=relaxed/simple; bh=vLpos2zbyRZLgI7CJLOUmG9PnMdTMmMQFtXcYpTmI0g=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=xfMiH5ACS2jYAVSO1q9d0tZCC5CLlvHAqVgg49iPnPktRy8Ugl3mbQJknf1KaRIyTPplbeB80eQ7DjwK36OBrvl7DJmyu+WOP98PrnVFaMwUeXJiXB+k9ebVOhHEcVRnR7O1UNdbY4WW8q9vVjpWw9G9U533fsBILRI2PI/dTCk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-5082a932bdeso2717493e87.3 for ; Sat, 28 Oct 2023 19:59:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698548395; x=1699153195; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=y7xqIF1qheBnyd8AQkWyEi70QBrBa1idOxjZuWyULN8=; b=OjqxaFuL2t4ZOTq/wCIgyg98pBxb1wmuUWacJ275IWiSodRQmQwP3/Lfnrd0lyGveK eGMwXWjuT7xiZ1iAZP//n8MDHZq2OOM7TNU2idTUX8FWOF+sKq8XnLTMPwID0x5y57sA 8mSa+8YbApXZ20kqFwHEAM8McaNRFK44N3rqSMwcuwJgMg/04beA1NNyWZdFBP3JNR4E 7qudqL1HpEH52Cm09dadJdnA4Ug3RvvBQ07kNsWN12Dhk8a/dBXA+LhgcnPkFQ/TU+J4 e9r9OwMh29z70bqX1hiINfT466HKp7KBN72eGj2QWZolmUTLSZQZoNvNLz1R8sA0eoGF X/ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698548395; x=1699153195; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=y7xqIF1qheBnyd8AQkWyEi70QBrBa1idOxjZuWyULN8=; b=dlo4txulxcZmAdTofBA0epzl9CO4dWMVMBqwwbBFIjWHqXjZ1+wMhaTpyW0M6hPEzz icnrgbysNbLQJdYnm74kyzrdcuGrOQXis7zuABLbelVezCkmYXNpG/lTWnQvgJfYohep Pn8FtmEcTVreoEe2NkeuXR9Ha+OYNxQ66pBv8k2SYrfxaOWFw6mNHj2We6HtlELU/fJ4 FUB6D7pUrcJnVz1wHO3bWxz2W6k4c5XOSM0ebzgDQjuvWrtGuiryXyrrMgtCr6tDXZCW VlCF0EXF50OjT5cSfZ+DQF5iwb9OqAfSZu7XfQWA3+ShP5F+uVtmsl6IM4+wSgDmIgvC zIXg== X-Gm-Message-State: AOJu0YyWycw8JeYl/uDdFiO5EyPlojFPMETTkuGR+ikliteBIINp8VqY 8ItUMYjp5YXSGr4ZvuUXU/j3/Wcd5lQ= X-Received: by 2002:a05:6512:208a:b0:507:9e6c:e165 with SMTP id t10-20020a056512208a00b005079e6ce165mr4409297lfr.50.1698548394426; Sat, 28 Oct 2023 19:59:54 -0700 (PDT) Received: from localhost.localdomain ([46.1.66.240]) by smtp.gmail.com with ESMTPSA id o19-20020ac24353000000b00507962dd2aesm858105lfl.207.2023.10.28.19.59.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Oct 2023 19:59:53 -0700 (PDT) From: Max Filippov To: gcc-patches@gcc.gnu.org Cc: Max Filippov Subject: [COMMITTED] gcc: xtensa: fix salt/saltu version check Date: Sat, 28 Oct 2023 19:58:55 -0700 Message-Id: <20231029025855.1160018-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, FROM_LOCAL_NOVOWEL, GIT_PATCH_0, HK_RANDOM_ENVFROM, HK_RANDOM_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781057110647238655 X-GMAIL-MSGID: 1781057110647238655 gcc/ * config/xtensa/xtensa.h (TARGET_SALT): Change HW version from 260000 (which corresponds to RF-2014.0) to 270000 (which corresponds to RG-2015.0, the release where salt/saltu opcodes were introduced). --- gcc/config/xtensa/xtensa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/xtensa/xtensa.h b/gcc/config/xtensa/xtensa.h index 5987681e5496..49e6350001da 100644 --- a/gcc/config/xtensa/xtensa.h +++ b/gcc/config/xtensa/xtensa.h @@ -54,7 +54,7 @@ along with GCC; see the file COPYING3. If not see #define TARGET_WINDOWED_ABI xtensa_windowed_abi #define TARGET_DEBUG XCHAL_HAVE_DEBUG #define TARGET_L32R XCHAL_HAVE_L32R -#define TARGET_SALT (XTENSA_MARCH_EARLIEST >= 260000) +#define TARGET_SALT (XTENSA_MARCH_EARLIEST >= 270000) #define TARGET_DEFAULT (MASK_SERIALIZE_VOLATILE)