jagomart
digital resources
picture1_Riscv User Isa


 118x       Filetype PDF       File size 0.30 MB       Source: csl.snu.ac.kr


File: Riscv User Isa
jin soo kim jinsoo kim snu ac kr systems software risc v user level isa architecture lab seoul national university cheat sheet spring 2020 a completely open isa that is ...

icon picture PDF Filetype PDF | Posted on 05 Feb 2023 | 2 years ago
Partial capture of text on file.
                            Jin-Soo Kim
                  (jinsoo.kim@snu.ac.kr)
                     Systems Software &        RISC-V User-level ISA
                       Architecture Lab.
                Seoul National University      Cheat Sheet
                            Spring 2020
       ▪ A completely open ISA that is freely available to academia and industry
       ▪ Fifth RISC ISA design developed at UC Berkeley 
        • RISC-I (1981), RISC-II (1983), SOAR (1984), SPUR (1989), and RISC-V (2010)
       ▪ Now managed by the RISC-V Foundation (http://riscv.org)
       ▪ Typical of many modern ISAs
        • See RISC-V Reference Card (or Green Card)
       ▪ Similar ISAs have a large share of embedded core market
        • Applications in consumer electronics, network/storage equipment, cameras, 
           printers, …
      4190.308: Computer Architecture | Fall 2019 | Jin-Soo Kim (jinsoo.kim@snu.ac.kr)                2
         ▪ Three base integer ISAs, one per address width
           • RV32I, RV64I, RV128I 
           • RV32I:  Only 40 instructions defined
           • RV32E:  Reduced version of RV32I                                              Name                  Extension
              with 16 registers for embedded systems
                                                                                             M          Integer Multiply/Divide
         ▪ Standard extensions                                                                A         Atomic Instructions
           • Standard RISC encoding in a fixed 32-bit                                         F         Single-precision FP
              instruction format                                                              D         Double-precision FP
           • C extension offers shorter 16-bit versions                                       G         General-purpose (= IMAFD)
              of common 32-bit RISC-V instructions                                           Q          Quad-precision FP
              (can be intermixed with 32-bit instructions)                                    C         Compressed Instructions
       4190.308: Computer Architecture | Fall 2019 | Jin-Soo Kim (jinsoo.kim@snu.ac.kr)                                                3
                 #     Name                  Usage                     #    Name                  Usage
                 x0     zero     Hard-wired zero                     x16      a6      Function arguments
                 x1      ra      Return address                      x17      a7
                 x2      sp      Stack pointer                       x18      s2      Saved registers
                 x3      gp      Global pointer                      x19      s3      (Callee-save registers)
                 x4      tp      Thread pointer                      x20      s4
                 x5      t0      Temporaries                         x21      s5
                 x6      t1      (Caller-save registers)             x22      s6
                 x7      t2                                          x23      s7
                 x8    s0/fp     Saved register / Frame pointer      x24      s8
                 x9      s1      Saved register                      x25      s9
                x10      a0      Function arguments /                x26      s10
                x11      a1      Return values                       x27      s11
                x12      a2      Function arguments                  x28      t3      Temporaries
                x13      a3                                          x29      t4      (Caller-save registers)
                x14      a4                                          x30      t5
                x15      a5                                          x31      t6
                                                                              pc      Program counter
       4190.308: Computer Architecture | Fall 2019 | Jin-Soo Kim (jinsoo.kim@snu.ac.kr)                                      4
The words contained in this file might help you see if this file matches what you are looking for:

...Jin soo kim jinsoo snu ac kr systems software risc v user level isa architecture lab seoul national university cheat sheet spring a completely open that is freely available to academia and industry fifth design developed at uc berkeley i ii soar spur now managed by the foundation http riscv org typical of many modern isas see reference card or green similar have large share embedded core market applications in consumer electronics network storage equipment cameras printers computer fall three base integer one per address width rvi only instructions defined rve reduced version name extension with registers for m multiply divide standard extensions atomic encoding fixed bit f single precision fp instruction format d double c offers shorter versions g general purpose imafd common q quad can be intermixed compressed usage x zero hard wired function arguments ra return sp stack pointer s saved gp global callee save tp thread t temporaries caller register frame values pc program counter...

no reviews yet
Please Login to review.