Risc V

  • Algorithm: affects IC, possibly CPI
  • Programming language: affects IC, CPI
  • Compiler: affects IC, CPI
  • Instruction set architecture: affects IC, CPI, Tc

  • Power = Capactitive load * Voltage^2 * frequency

  • x0: the constant value 0
  • x1: return address
  • x2: stack pointer
  • x3: global pointer
  • x4: thread pointer
  • x5 – x7, x28 – x31: temporaries
  • x8: frame pointer
  • x9, x18 – x27: saved registers
  • x10 – x11: function arguments/results
  • x12 – x17: function arguments

  • RISC-V is Little Endian
    • Least-significant byte at least address of a word
    • c.f. Big Endian: most-significant byte at least address
Written on December 20, 2020