From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by sourceware.org (Postfix) with ESMTPS id 6FD32385840A for ; Wed, 6 Sep 2023 13:27:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6FD32385840A 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-ej1-x630.google.com with SMTP id a640c23a62f3a-99bf3f59905so562001566b.3 for ; Wed, 06 Sep 2023 06:27:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694006835; x=1694611635; darn=gcc.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:cc:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=zkebcgbQdEw3rJ+8FLZi7VMgEuU5ANgRsAwia/1gFd4=; b=SoIiQTb+b3bQjtLPgSxFEIxzcOX1KxPDVWaCF3dFkEMd1Ij+FM9yoQ4CLTHDyK6Iut GQnY80V9NhV47K5QnXRBGvzfEnkjnSgcHHFrjGQCnsVo9Mehesj3Q57LpmePVXuBsN9n c5u752/sbr9Mg68qja8CCQXJaJiKughgLYqBaldRNxhn2qT/68GJKd98wKZDFv1Av/6f nGrBnRx5l80sE3k2IUqGwf9M583jXjpaq+t7ZC3ykmSFfi4Vx4oNUrsT8aZEJiqQYC7t ArN3AxFIpO5MQLeXcME3S8Stz+DkHzWMZ9jdA9AMLInu46YkVIupAJl7R7tx1rsJbCZ/ Byfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694006835; x=1694611635; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:cc:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zkebcgbQdEw3rJ+8FLZi7VMgEuU5ANgRsAwia/1gFd4=; b=H1XtdEw4A86LHDORs2+dWPQ097aOTuVZBW19+yDcnBy2XNqf9TUS1Ugk/+p+669qx1 USuuGNgU4mRMuOtc3pRL20mGmeJ42QE/NwM87UgpLWF9FI8yJKF6r3/fBPBsoPW5zNde B2pbp1qKu+AKaR5RaqA582oaDiPRn3BcsxDHY07joASx4E15HnQj/67MaKIuheh14xDe s9qoNK0CxgeJqDxu9Ao06k+h0fepjLNOZ/2WUeoFDt3d9ZrtO7naFRwemqpc3M3Xy3O0 +TThjrNyqUyUbzDvntQKrMY6acMFLLHrzOdYupa52uKCXiqXysdv6V/4JfCXvZHL/XU8 PAEQ== X-Gm-Message-State: AOJu0Yx23ewi7mnp4cnhwlIJif6w7lFHXzTuF7JArk97zmhhUpeN6ztH FwnM4170GgaXTbywEhzJlOw= X-Google-Smtp-Source: AGHT+IE/ZjdIwo0UgRqevcJlQgKCngMphC67ygjBkIqNwqsediSrFA69s1PIOsEfj5hj0XoZfs44yQ== X-Received: by 2002:a17:907:2cf3:b0:9a1:cccb:5429 with SMTP id hz19-20020a1709072cf300b009a1cccb5429mr2347209ejc.15.1694006834970; Wed, 06 Sep 2023 06:27:14 -0700 (PDT) Received: from [192.168.1.23] (ip-046-005-130-086.um12.pools.vodafone-ip.de. [46.5.130.86]) by smtp.gmail.com with ESMTPSA id cf20-20020a170906b2d400b0098e16f8c198sm9096650ejb.18.2023.09.06.06.27.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Sep 2023 06:27:14 -0700 (PDT) Message-ID: Date: Wed, 6 Sep 2023 15:27:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: rdapp.gcc@gmail.com, palmer , Kito Cheng , jeffreyalaw , "juzhe.zhong" Subject: Re: [PATCH v3] RISC-V: Add autovec FP binary operations. Content-Language: en-US To: Lehua Ding , gcc-patches References: <46830e7e-c0b5-5f04-56ec-b2347a101001@gmail.com> <3593152A4AF6C445+E892D494-DF60-4B27-928D-14A269989B2B@rivai.ai> <5D71367462E7C90B+1c5abca3-4b8d-4bbd-8565-121586dd1e18@rivai.ai> From: Robin Dapp In-Reply-To: <5D71367462E7C90B+1c5abca3-4b8d-4bbd-8565-121586dd1e18@rivai.ai> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,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 List-Id: Hi Lehua, > May I ask if the compiler options "-march=rv64gcv_zvfh -mabi=lp64d" > should be removed? Because we don't specify -march and -mabi when we > run testcase (so but why we need to specify the -march and -mabi in > this target check?), we run it with the default values. Assuming that > the default is rv64gcv_zvfh_zfh, `riscv_vector` check will fail > because compile and link with -march=rv64gcv will throw the following > error if I doesn't compile a multilibs compilers. But in fact > rv64gcv_zvfh_zfh contains rv64gcv, we should not let this case report > link error.: Yes, you're right, this should not be necessary. This is more of a test for the execution environment than the compiler. I think Juzhe removed it already in his patch that enables the vector test suite. In the future we would use the checks that Joern added, not sure if they are already upstream. Regards Robin