From patchwork Sat Sep 3 01:28:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 942 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:ecc5:0:0:0:0:0 with SMTP id s5csp979262wro; Fri, 2 Sep 2022 18:29:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR4j9NG6tgZDAHRJoszYxjsaAwfVS1j55769yLkshJA5l390471B8KDtVb2b/kYg891V/V01 X-Received: by 2002:aa7:d995:0:b0:447:ea61:d7d8 with SMTP id u21-20020aa7d995000000b00447ea61d7d8mr29580892eds.118.1662168557642; Fri, 02 Sep 2022 18:29:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662168557; cv=none; d=google.com; s=arc-20160816; b=M3HRhPiVA8pekHN/Laqhw1mMZ/KHS0RiTU9hIpUt7iS3B69sOqVSlD6VdnKFb+s6eQ Bq6xhPdsKcoXPL8jg3QvPfFoL0JytSR+5DNGG6nyE/xu0gUOAtePpZSrXGsfPhWp4bkf cSly8vlW4suN56CyybAqdbA5363uCi+YXJxQgxJlmJjar58Nt/v/eqEPLdLsu1Qg6Sw2 OLgkjVQeGiRnNnujL5bmdTEO7Bt/7pgs1eVv2l3NZK8grHaJ94wcJpLzr/WgVlxG59Z5 zKEuNXvwdnO1hwLYHqEECE+/NKHVOBzqysheiuwJUDwZotVCHeV8ZGmaocZTfBAKseLQ NxnQ== 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:to:from :content-transfer-encoding:mime-version:message-id:date:subject :dkim-signature:dmarc-filter:delivered-to; bh=dR2Q99roCmmHrvI/nMqT5RB0vTBtW60s7kdU/rkmwiU=; b=yRmZAMGb06NjX3XzVzCg3qne2hzSL7b6tm9Aw2tZ8Brasy0LjW1pYKJ1bknpbdkX83 V+F7o/jfWss/lyvvF4pWgMIL85yEUPSTntOVO1KjPEttYbD/lnpuu+/A5V39kvzu4/So EjZjaSXNVIanN/1WcokOZ8YnXSu68CyYhoNk+MDF5q3YvOSXEpT9kTFSpBQG+x3lQeX9 rFu9FrEpoOSXMzkIrfq+SgOlzkHE0l4Ac4I5WZrskvlCrde5nt46PPphLZLdh905ecG5 q47P8S6XLtbQk6HW7Aj0jmiS8JWNDLDqkPLy5Bpn6K5zEB6C6kxTk411UCSOYKwlhEM1 Ftjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=qSZt96i4; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id ke14-20020a17090798ee00b0072b3ccd50dasi2540454ejc.905.2022.09.02.18.29.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Sep 2022 18:29:17 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=fail header.i=@rivosinc-com.20210112.gappssmtp.com header.s=20210112 header.b=qSZt96i4; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 760F4385800A for ; Sat, 3 Sep 2022 01:29:13 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by sourceware.org (Postfix) with ESMTPS id 1882B3858D1E for ; Sat, 3 Sep 2022 01:28:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1882B3858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-pl1-x635.google.com with SMTP id v5so3444362plo.9 for ; Fri, 02 Sep 2022 18:28:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20210112.gappssmtp.com; s=20210112; h=to:from:cc:content-transfer-encoding:mime-version:message-id:date :subject:from:to:cc:subject:date; bh=dR2Q99roCmmHrvI/nMqT5RB0vTBtW60s7kdU/rkmwiU=; b=qSZt96i4+/iWlVwDhUolqt9DrGIL4mFxN5+mEvIiNl1Ad+oSi6YRLiIQLKvrQegn+m muC5xgWuOpce+qpKbsRtrHIocGQePyaPuJwWr/OY2K2tRh3YSl/4c4xkS9w49Cb/SYD6 XdIGNAKLcXpApEMCHXX6yrTHgEXuI5HQz5z5Xc2rS5aLAaClhlj2Mh19x3aqu9gBksn9 LPRIBCRl3OLGNZmetVrcYQP1G6fNIajz2+HcWBJlf98gbtJKoafIDYQ3qLOzQpWGsi0c b7AXXjWoyt9NwncqQXLtGpRTFjbMhttK1fBGCPlE/MpSs+rdDaGmCdnqGa9E3mT17gvu o6og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:cc:content-transfer-encoding:mime-version:message-id:date :subject:x-gm-message-state:from:to:cc:subject:date; bh=dR2Q99roCmmHrvI/nMqT5RB0vTBtW60s7kdU/rkmwiU=; b=3DnH/8xWbt7yBNlqC4WCX3NgGfsX5bJUHePNcpPbbq9NrYrrItM1OPRLNHTFJfRrqu tdo14RD0Kc8mBar3rPcnzcnyy+SNoW/OHv9kED2jUyzV7kWWjMmbSyFt9f480YbrJ2Ox mZLwW3v173i2cM6jpPzIP2VnPwKNp3vymlXWC+8XP9+9K+HImj1oFrRzuwkY8hFJBQCJ GYzwglo5iDbjox0MO6XJxNriBAJBXz1aHV7dAlPHwv+v844VCfoULxx1nOgCgrzLB6NM q8/twVtNfl194ECt0Doee3UfeNOMomwmQA0pLdPkVxsK1PLWNA3YUOqAqReUSVaYRI6f vBRw== X-Gm-Message-State: ACgBeo0oWZ59gJoMnH+lCT1Zh3d2GnkS2MLpQ3WhXAUdiC01X6JNXofO smSIZ2tDxQ+kSrxGf+bRrqTzFQ== X-Received: by 2002:a17:903:22c1:b0:16e:fbcc:f298 with SMTP id y1-20020a17090322c100b0016efbccf298mr38843548plg.2.1662168527024; Fri, 02 Sep 2022 18:28:47 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id y14-20020a63b50e000000b0042bf6034b3fsm2094497pge.55.2022.09.02.18.28.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Sep 2022 18:28:46 -0700 (PDT) Subject: [PATCH] RISC-V: Don't try to vectorize tree-ssa/gen-vect-34.c Date: Fri, 2 Sep 2022 18:28:10 -0700 Message-Id: <20220903012810.23834-1-palmer@rivosinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 From: Palmer Dabbelt To: gcc-patches@gcc.gnu.org X-Spam-Status: No, score=-13.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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.29 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 Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1742910057421287515?= X-GMAIL-MSGID: =?utf-8?q?1742910057421287515?= We don't yet support vectorization on RISC-V. gcc/testsuite/ChangeLog * gcc.dg/tree-ssa/gen-vect-34.c: Skip RISC-V targets. --- gcc/testsuite/gcc.dg/tree-ssa/gen-vect-34.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-34.c b/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-34.c index 8d2d36401fe..41877e05efd 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-34.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-34.c @@ -13,4 +13,4 @@ float summul(int n, float *arg1, float *arg2) return res1; } -/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { ! { avr-*-* pru-*-* } } } } } */ +/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { ! { avr-*-* pru-*-* riscv*-*-* } } } } } */