From patchwork Thu Oct 5 11:43:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Zissulescu Ianculescu X-Patchwork-Id: 148679 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2016:b0:403:3b70:6f57 with SMTP id fe22csp232880vqb; Thu, 5 Oct 2023 04:45:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGMTf0njtHFrAcuMKWdnfNK6gxbi02VChMe10x+YM8ommNrpiU8S62JhI9IgLWgXwbPpqkt X-Received: by 2002:aa7:d907:0:b0:533:d1cd:62c5 with SMTP id a7-20020aa7d907000000b00533d1cd62c5mr3985041edr.17.1696506335647; Thu, 05 Oct 2023 04:45:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696506335; cv=none; d=google.com; s=arc-20160816; b=fnluMoJ5oCrA1JnBwKZ+uoIPZcZAH5WijygRsRnTDYxTzmT25pzXZ3gS6YUmK+jFXU LjvJRmqo03XRRXSYIJATLWoT3ky6fo6ZyvgVJySCDl+0t9SUf8Q6MI6dn7SLx5rL/UQ9 ekSeOneC68jfECd1g0wAquHIZeGkEMZJt7d+PY0hm9iUt9J98Aa1SPVD0e9Wxy7aCtkL UYOyj3NOgGnqEoJqfa7D9KM5pCbDYwDPOfYre7S69+g+drDPQItkCsKll8+3hylzjvGz QWmrzhKhk0K7yYWKeqA1LUIi3VyFDNlsUvxQ9zJLZLKUWb0e1WFNmItK5UxmAZNnZeDY 6Inw== ARC-Message-Signature: i=1; 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:dmarc-filter:delivered-to; bh=qalG2iL+PAJvfxQfDknQdfIA7E5I2P8VWwcssncbj+4=; fh=7jtO1LQ2AGfJSFta5OEKAjdQtDhhgJZg7nT12/P8gFI=; b=maWjUj1V00ML4AH/O5tBK9y6BYQZBt0JAiu0VToox3AR6ScL0dpX2bY27DPG4HjeUa 7aKjDKSbOgxcO3Q71pqZYSP00lnfC4terdhCoYZWk4X5svcft34B948WoEqwXrgSzQGD 0/TgdrhRR+2SIAvMnceRHBMLa1ypn2m+5UGJZr9LV6luGQOVk1TuqpgNQN3B9KeDOtRd HLPOBVcAfE0j2UhbBR6mFNJpZQQuc2iWFHT6erRKywQjnFul2j8ERODYdmiM2VKxvvO0 6M5+Jbilk1f22H5Bd6UtpcjWfpWvxrtqMBEVeR5pAorwMnkM/UfOFezAP6WtokmmlSYL RGuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="dxcVkP4/"; 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 r7-20020aa7d147000000b00536751c859csi641281edo.170.2023.10.05.04.45.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 04:45:35 -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="dxcVkP4/"; 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 603033831E31 for ; Thu, 5 Oct 2023 11:44:27 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by sourceware.org (Postfix) with ESMTPS id 8A3063856961 for ; Thu, 5 Oct 2023 11:43:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8A3063856961 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4056ce55e7eso7397655e9.2 for ; Thu, 05 Oct 2023 04:43:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696506230; x=1697111030; darn=gcc.gnu.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=qalG2iL+PAJvfxQfDknQdfIA7E5I2P8VWwcssncbj+4=; b=dxcVkP4/162cdNzT8o2zmTSqujumK7hQQATKx6R84LMM2EhcrgAwGuGd54RBDXzgmx WCyLhKQxz49SrMWUx6R6Cth50Eb2LznVybZ8WTQfIJGWNdJ6M7ae7SBL2G/w8jn2J4mS 03nK5Ql61i2/iuAhtX3LzFu0AcytMdllnZbybahxMkvh/u1pMPsbRB6ZABUDN/Vdqg3o nnWJImAi45ikYiONakIbxpIirqX5tpdQGsJpeXgZbfDGwO77Y6gddubkOFS+DEZOZ0Z1 JuVmfVZ2co9VBhGQLSI189NwfAzQwNmRycuZkDSfIHXr65SjbZBdeJKFmw0VWN17edF+ lUBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696506230; x=1697111030; 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=qalG2iL+PAJvfxQfDknQdfIA7E5I2P8VWwcssncbj+4=; b=YqdO1pTlNulU57nv7Tu1d2OPynQDjB44m3beT5jIfUyewrHQYwxrg30DQlyFXMivdI Ujazlb2rp5DuCa+rjNSSY9yg47z83+9Zz6u71bF1Hn9n6w3m5jK4wupErVXnBfrfX3DM Te5VvoBUtPw0Qn7sPHNBB7yXiTJI9Y0Ocn3rvzAwTOELBneoegLqFdPlGi6Ao7Nfd5xY Mklrt+/8kwcL7EX8QSYNrAkqPeMkOEmquY2ONkE435UAnC9AGatuAWzs0a51Rm7GnYNK xo6uh0ehjWHcVDMQFQSLrbGSeS3HtoQ7m/SFy5MBbGI+YfNrjV8f4qHMSpWyIS1eebQe 7jPw== X-Gm-Message-State: AOJu0YztvzCdY8T+/PfjPBc5Aid3t4iauyVVbOATuUnmt7nQURyEtoqF h/oMZWkIwyIZ5/GxvfcwHH2Cj2oc9Io= X-Received: by 2002:a5d:6302:0:b0:323:3ab5:990c with SMTP id i2-20020a5d6302000000b003233ab5990cmr4368266wru.44.1696506229436; Thu, 05 Oct 2023 04:43:49 -0700 (PDT) Received: from fatty.nomansland ([193.187.151.25]) by smtp.gmail.com with ESMTPSA id f22-20020a5d58f6000000b0031423a8f4f7sm1605821wrd.56.2023.10.05.04.43.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 04:43:48 -0700 (PDT) From: Claudiu Zissulescu To: gcc-patches@gcc.gnu.org Cc: fbedard@synopsys.com Subject: [committed 2/5] arc: Update/remove ARC specific tests Date: Thu, 5 Oct 2023 14:43:42 +0300 Message-Id: <20231005114345.1707504-2-claziss@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20231005114345.1707504-1-claziss@gmail.com> References: <20231005114345.1707504-1-claziss@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_SHORT, 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: 1778915827461902482 X-GMAIL-MSGID: 1778915827461902482 Update tests and remove old mtune-* tests. gcc/testsuite * gcc.target/arc/add_n-combine.c: Recognize add2 instruction. * gcc.target/arc/firq-4.c: FP register is a temp reg. Update test. * gcc.target/arc/firq-6.c: Likewise. * gcc.target/arc/mtune-ARC600.c: Remove test. * gcc.target/arc/mtune-ARC601.c: Likewise. * gcc.target/arc/mtune-ARC700-xmac: Likewise. * gcc.target/arc/mtune-ARC700.c: Likewise. * gcc.target/arc/mtune-ARC725D.c: Likewise. * gcc.target/arc/mtune-ARC750D.c: Likewise. * gcc.target/arc/uncached-7.c: Set it to XFAIL. Signed-off-by: Claudiu Zissulescu --- gcc/testsuite/gcc.target/arc/add_n-combine.c | 2 +- gcc/testsuite/gcc.target/arc/firq-4.c | 1 - gcc/testsuite/gcc.target/arc/firq-6.c | 1 - gcc/testsuite/gcc.target/arc/mtune-ARC600.c | 4 ---- gcc/testsuite/gcc.target/arc/mtune-ARC601.c | 4 ---- gcc/testsuite/gcc.target/arc/mtune-ARC700-xmac | 4 ---- gcc/testsuite/gcc.target/arc/mtune-ARC700.c | 4 ---- gcc/testsuite/gcc.target/arc/mtune-ARC725D.c | 4 ---- gcc/testsuite/gcc.target/arc/mtune-ARC750D.c | 4 ---- gcc/testsuite/gcc.target/arc/uncached-7.c | 2 +- 10 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 gcc/testsuite/gcc.target/arc/mtune-ARC600.c delete mode 100644 gcc/testsuite/gcc.target/arc/mtune-ARC601.c delete mode 100644 gcc/testsuite/gcc.target/arc/mtune-ARC700-xmac delete mode 100644 gcc/testsuite/gcc.target/arc/mtune-ARC700.c delete mode 100644 gcc/testsuite/gcc.target/arc/mtune-ARC725D.c delete mode 100644 gcc/testsuite/gcc.target/arc/mtune-ARC750D.c diff --git a/gcc/testsuite/gcc.target/arc/add_n-combine.c b/gcc/testsuite/gcc.target/arc/add_n-combine.c index 84e261ece8f..fd311b3839c 100644 --- a/gcc/testsuite/gcc.target/arc/add_n-combine.c +++ b/gcc/testsuite/gcc.target/arc/add_n-combine.c @@ -46,5 +46,5 @@ void f() { } /* { dg-final { scan-assembler "@at1\\+1" } } */ -/* { dg-final { scan-assembler "@at2\\+2" } } */ +/* { dg-final { scan-assembler "add2" } } */ /* { dg-final { scan-assembler "add3" } } */ diff --git a/gcc/testsuite/gcc.target/arc/firq-4.c b/gcc/testsuite/gcc.target/arc/firq-4.c index 969ee796f03..cd939bf8ca3 100644 --- a/gcc/testsuite/gcc.target/arc/firq-4.c +++ b/gcc/testsuite/gcc.target/arc/firq-4.c @@ -28,4 +28,3 @@ handler1 (void) /* { dg-final { scan-assembler-not "fp,\\\[sp" } } */ /* { dg-final { scan-assembler-not "push.*fp" } } */ -/* { dg-final { scan-assembler "mov_s.*fp,sp" } } */ diff --git a/gcc/testsuite/gcc.target/arc/firq-6.c b/gcc/testsuite/gcc.target/arc/firq-6.c index 9421200d630..df04e46dd31 100644 --- a/gcc/testsuite/gcc.target/arc/firq-6.c +++ b/gcc/testsuite/gcc.target/arc/firq-6.c @@ -18,4 +18,3 @@ handler1 (void) "r25", "fp"); } /* { dg-final { scan-assembler-not "(s|l)(t|d)d.*r\[0-9\]+,\\\[sp,\[0-9\]+\\\]" } } */ -/* { dg-final { scan-assembler "mov_s.*fp,sp" } } */ diff --git a/gcc/testsuite/gcc.target/arc/mtune-ARC600.c b/gcc/testsuite/gcc.target/arc/mtune-ARC600.c deleted file mode 100644 index a483d1435ca..00000000000 --- a/gcc/testsuite/gcc.target/arc/mtune-ARC600.c +++ /dev/null @@ -1,4 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-mtune=ARC600" } */ - -/* { dg-final { scan-assembler ".cpu ARC700" } } */ diff --git a/gcc/testsuite/gcc.target/arc/mtune-ARC601.c b/gcc/testsuite/gcc.target/arc/mtune-ARC601.c deleted file mode 100644 index ed57bd7092d..00000000000 --- a/gcc/testsuite/gcc.target/arc/mtune-ARC601.c +++ /dev/null @@ -1,4 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-mtune=ARC601" } */ - -/* { dg-final { scan-assembler ".cpu ARC700" } } */ diff --git a/gcc/testsuite/gcc.target/arc/mtune-ARC700-xmac b/gcc/testsuite/gcc.target/arc/mtune-ARC700-xmac deleted file mode 100644 index 2f1e137be4d..00000000000 --- a/gcc/testsuite/gcc.target/arc/mtune-ARC700-xmac +++ /dev/null @@ -1,4 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-mtune=ARC700-xmac" } */ - -/* { dg-final { scan-assembler ".cpu ARC700" } } */ diff --git a/gcc/testsuite/gcc.target/arc/mtune-ARC700.c b/gcc/testsuite/gcc.target/arc/mtune-ARC700.c deleted file mode 100644 index 851ea7305e0..00000000000 --- a/gcc/testsuite/gcc.target/arc/mtune-ARC700.c +++ /dev/null @@ -1,4 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-mtune=ARC700" } */ - -/* { dg-final { scan-assembler ".cpu ARC700" } } */ diff --git a/gcc/testsuite/gcc.target/arc/mtune-ARC725D.c b/gcc/testsuite/gcc.target/arc/mtune-ARC725D.c deleted file mode 100644 index e2aa4846291..00000000000 --- a/gcc/testsuite/gcc.target/arc/mtune-ARC725D.c +++ /dev/null @@ -1,4 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-mtune=ARC725D" } */ - -/* { dg-final { scan-assembler ".cpu ARC700" } } */ diff --git a/gcc/testsuite/gcc.target/arc/mtune-ARC750D.c b/gcc/testsuite/gcc.target/arc/mtune-ARC750D.c deleted file mode 100644 index 20923300ee1..00000000000 --- a/gcc/testsuite/gcc.target/arc/mtune-ARC750D.c +++ /dev/null @@ -1,4 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-mtune=ARC750D" } */ - -/* { dg-final { scan-assembler ".cpu ARC700" } } */ diff --git a/gcc/testsuite/gcc.target/arc/uncached-7.c b/gcc/testsuite/gcc.target/arc/uncached-7.c index 4001b8bd821..23e5fe23b04 100644 --- a/gcc/testsuite/gcc.target/arc/uncached-7.c +++ b/gcc/testsuite/gcc.target/arc/uncached-7.c @@ -8,4 +8,4 @@ void s_acc(void) s[10] = 15; } -/* { dg-final { scan-assembler-times "st\.di" 1 } } */ +/* { dg-final { scan-assembler-times "st\.di" 1 { xfail *-*-* } } } */