From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by sourceware.org (Postfix) with ESMTPS id 9847B3840002 for ; Wed, 21 Jul 2021 20:53:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9847B3840002 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-lj1-x22f.google.com with SMTP id y7so4724417ljm.1 for ; Wed, 21 Jul 2021 13:53:55 -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=J62F7HHy3W8gOTAEJrXPlpRoLZbdsCczOTotFTKu0Fg=; b=nZQ5oGUBNbO93ychpEUd8pvzveYNT82hPO/9Ikf1BGhN7mpIIH3rN+r+V+o1pF0PkN LvKKno0rWWj4Nh/OaEq6XWa2DRhloAelREBDTxhR7qg8R/XGHl9zfc/8G1rp9xigeRGu sx5WhqzyuhbvcmAVScoiqOtVSHxrB0w9yWo6y3ltuIAAPIg3S0N9XAc8cuaDLcuX6Rp8 ctOpadfEY38ulEHnqOvRDZ0f97i9gfrOceGMGM5LwW0cYi6aBmWQjrcUpUJgCIj1h2Ag Fodz+etmbawfxHSRsxZUd8oAGUB7+iUim2KqYv6Dt+YGsENmSZFAqFyfLUoIuSqLlfnx AOHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=J62F7HHy3W8gOTAEJrXPlpRoLZbdsCczOTotFTKu0Fg=; b=jK93VVtZLNU1qymvsBq2mhUKQs5vHPoH0okCvrsFeRpSs2IFFAPZ8y930c/3nEUXcK 6OUEAGP0b15tK7TDyhbko4vPKt4E4KCtYVxFoM7+Bj+MNjBl+1jxnxAm6yqbFwMQOI1J CMQ7cBI6rAi5mTYX/aWh7GZyFqO2g8P0kWNsZ5mHlJq1RQIGrFKJDLLpHyEqY9ENWRFP eOFjMn8lGXu5x1v2seumeooje/sgANLUrr/H9cIg5GNnYicatMMFDwXUkwV9Cl4Lgp9O GU2sUKz4ju5AD5lz6zKeOUIHJ8feq8Dh2rPZdsxVtj7rdSa6UZxu40Cfr2eAFoeW3zMv L5Ew== X-Gm-Message-State: AOAM531gcjYNh4PdDERKIY6kHggJ8R0XWdeaWN1hI5CEciPe71ECCmYs 7kT42hh0Q8NEYPAmSezthB6MYzw3l6yiZi7kDIBRpw== X-Google-Smtp-Source: ABdhPJwfC+XoXcgpyow84ffreOvN67ko1xN8HhqL3PljcIQdA3/WxKsgBx+dA2qutZAM6HfaU8ZUBkKxbnbL9QnZVUQ= X-Received: by 2002:a2e:5c2:: with SMTP id 185mr33147375ljf.186.1626900834336; Wed, 21 Jul 2021 13:53:54 -0700 (PDT) MIME-Version: 1.0 References: <20210629081107.28391-2-rjiejie@linux.alibaba.com> In-Reply-To: From: Jim Wilson Date: Wed, 21 Jul 2021 13:53:43 -0700 Message-ID: Subject: Re: [PATCH 1/2] RISC-V: Add arch flags for T-HEAD. To: Palmer Dabbelt Cc: GCC Patches , JojoR X-Spam-Status: No, score=-2.4 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: 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: , X-List-Received-Date: Wed, 21 Jul 2021 20:53:57 -0000 On Tue, Jul 13, 2021 at 11:06 AM Palmer Dabbelt wrote: > Is there are documentation as to what this "theadc" extension is? > The best doc I know of is https://github.com/isrc-cas/c910-llvm The README is in Chinese, but google translate does a decent job on it. If you want more details, you have to read the llvm sources to see exactly what each instruction does. They have mentioned that they are working on English language docs, but I don't know when they will be available. There are quite a few T-Head specific instructions here. This patch is only adding support for a few of them, probably as a trial to see how it goes before they try to add the rest. Jim