From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by sourceware.org (Postfix) with ESMTPS id 25ABD3858C39 for ; Wed, 15 Sep 2021 19:37:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 25ABD3858C39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=sifive.com Received: by mail-lf1-x132.google.com with SMTP id i7so8571180lfr.13 for ; Wed, 15 Sep 2021 12:37:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=smLTVCRdjIZPUsMqGNDp5vygb1ZwtH2gKITSKGoG0/c=; b=OHdbIaDP4fwfnC/uxcNqIW6fQ7Z61iXSmiuq6X0X0My5G1gHThckdAdZSrhEokZT++ aK3frGIQ24iVtiWfYduPoAXwLyYFYMJh8mY+4dbt0xK/chsN+fuUxRjh2IZUv5R57R5k W6RUgFDKkFfUhnNzojnrncTRKYEq3TcGrRRKZRH6sAKkmIivkRftYkWVyYTMPCaT27aM cHx7wp5YT8R7FNbX2paGLNw4gNkBo1bgqWC4LardBnDRJzRJhcW7Y7mbOElGPLYQ3Thx xYGOutdKu+Xb2oMzRq3szGBFPdymXXQfE+Bc44E33hb/HGie7gjRrjXbAnlCJcjhGzG1 XhRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=smLTVCRdjIZPUsMqGNDp5vygb1ZwtH2gKITSKGoG0/c=; b=XihBQ+ZgRBdOnIsgcYhMKjejBeneFa0IZf2qw+u+ORbkKtvaYnU20sK+orlk7AhdL4 lt7Y85opDIdnMD1pZgJ2UBeI8zOtvDFDZgQ4pa3df3Lq7NUI8lDBKTusFDI47MDwD23F whdTEWDEHNIMEjmw9qZ2BWKK/dhXyz+9SqxNu0o5JsujL8gie65qW24ke6PXLIMDF4W+ wkqB6FE3vy2CpozYtsE9+icqfrjIbxhh4IoI3fEqX6P4aljeKWc9yVahuaocezkHBkOK fge7umrPqU8XdvX1gvFK92mJhQx1CH3QhWiSSnmusji3McPejMuKETIacXs2AqX+1iey hivw== X-Gm-Message-State: AOAM533ADLon9CB2j3eGMMXAZcUW53AxJqJ6C3EmiKXNIGBkvLZmryFq uK4z0b7LNEdsx8lZs1ubb0X3zawYKYwMwJmyXIawTQ== X-Google-Smtp-Source: ABdhPJzx1WY2Kd9mEZ0+8j8GDnANGTlvt7HFIBbYXgSImfoK/IyWNCbqBIK1E86Pzb4d1ZcyfGXOTU4za+Qi4zhwCWY= X-Received: by 2002:a05:651c:1504:: with SMTP id e4mr1445382ljf.475.1631734670862; Wed, 15 Sep 2021 12:37:50 -0700 (PDT) MIME-Version: 1.0 References: <1631497278-29829-1-git-send-email-vincent.chen@sifive.com> <4aad9f61-5cef-2a6c-b4f3-9b1dbecf91a0@kernel.org> In-Reply-To: <4aad9f61-5cef-2a6c-b4f3-9b1dbecf91a0@kernel.org> From: Jim Wilson Date: Wed, 15 Sep 2021 12:37:39 -0700 Message-ID: Subject: Re: [RFC patch 0/5] RISC-V: Add vector ISA support To: Vineet Gupta Cc: Vincent Chen , GNU C Library , Palmer Dabbelt , Andrew Waterman X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2021 19:37:53 -0000 On Mon, Sep 13, 2021 at 12:11 PM Vineet Gupta via Libc-alpha < libc-alpha@sourceware.org> wrote: > What about gcc/binutils: sifive forks for those have quite a few > branches with rvv suffix, but it is not obvious which one pertains to > the specific version implemented in qemu above. > Binutils RVV support can be found on the RISC-V integration branch in the FSF Binutils tree: users/riscv/binutils-integration-branch. There is no usable RVV GCC port. One was started and then mostly abandoned. It still gets the occasional patch, but it should not be trusted. RVV work nowadays is happening only in clang and is available on mainline in the llvm.org git tree. Special options are required to enable it though. If you really want to try an RVV GCC port, you can find one at github.com/riscv/riscv-gnu-toolchain on the rvv-intrinsics branch. Note that the submodules are not being kept up to date, but the branch names are in the .gitmodules file, so you can use "git submodule update --remote" to get the most recent commit for them. I would however advise against trying to use this compiler for any serious work. It is buggy and out of date. Use clang instead. But since we aren't trying to put vector intrinsic calls into glibc or the kernel, all you should really need is the assembler. Jim