GithubHelp home page GithubHelp logo

thead-extension-spec's Introduction

T-Head ISA extensions (Xthead*)

This repository contains the T-Head RISC-V ISA extensions (Xthead*) specifications.

Build instructions

The specification is written in AsciiDoc. The following instructions can be used to generate a PDF containing all specifications:

make

thead-extension-spec's People

Contributors

a4lg avatar cmuellner avatar cooper-qu avatar jackgittes avatar joshua-arch1 avatar ksco avatar majin2020 avatar pcwang-thead avatar ptomsich avatar pz9115 avatar revysr avatar rjiejie avatar romanheros avatar shangyunhai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

thead-extension-spec's Issues

cannot make pdf

Hi, my ruby version is 2.7.0 and when I use make to generate PDF, I got an error report:
/usr/lib/ruby/2.7.0/tempfile.rb:121:in `<top (required)>': superclass mismatch for class Tempfile (TypeError)
I am not familiar with Ruby, and I am at a loss for this.

incorrect ff0/ff1 operation

The Operation of ff0/ff1 is not correspond to Description. In ff0 process, it is supposed to check from 63 bit to 0 bit, and return from 0 to 63.

`XTheadMemIdx`: contradicting mnemonics

It seems instruction table and per-instruction description has different mnemonics.

For instance, from the instruction table,

RV32 RV64 Mnemonic Instruction
Y Y th.lrb rd, rs1, rs2, imm2 Load indexed byte

But in section 9.1.23. th.lrb:

Mnemonic
th.lrb rd, (rs1), rs2, imm2

(both are quotes from version 2022-11-07 2.1.0)

Currently, GNU Binutils implements the former (without paren). But...

  • At least, we should fix the manual for consistency (even if "no paren form" is correct) and
  • If the latter mnemonic is the correct format (like other XTheadMemIdx instructions like th.lbia), GNU Binutils should be fixed (I can handle that).

`XTheadFMemIdx`: No parens?

As I pointed out in #6, there are some inconsistencies in XTheadMemIdx.

XTheadFMemIdx does not have such inconsistencies in the manual but replacing rs1 with (rs1) may be an option to keep consistency with other RISC-V instructions.

Is not having parens around rs1 is intentional? If not, we should fix both the manual and GNU Binutils (I can handle the GNU Binutils part).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.