Questions tagged [riscv]

For questions related to RISC-V assembler, compiler specifics and HDL (hardware description language) implementation and use. Note: Questions on hardware implementation will be more appropriate for the electronics engineering site: https://electronics.stackexchange.com

Summary

RISC-V (pronounced "risk-five") is an instruction set architecture (ISA) that was originally designed to support computer architecture research and education and is now a standard open architecture for industry implementations under the governance of the RISC-V Foundation. RISC-V was originally developed in the Computer Science Division of the EECS Department at the University of California, Berkeley.

Features

  • A completely open ISA that is freely available to academia and industry.

  • A real ISA suitable for direct native hardware implementation, not just simulation or binary translation.

  • An ISA that avoids "over-architecting" for a particular microarchitecture style (e.g., microcoded, in-order, decoupled, out-of-order) or implementation technology (e.g., full-custom, ASIC, and FPGA), but which allows efficient implementation in any of these.

  • An ISA separated into a small base integer ISA, usable by itself as a base for customized accelerators or for educational purposes, and optional standard extensions, to support general-purpose software development.

  • Support for the revised 2008 IEEE-754 floating-point standard.

  • An ISA supporting extensive user-level ISA extensions and specialized variants.

  • 32-bit, 64-bit, and 128-bit address space variants for applications, operating system kernels, and hardware implementations.

  • An ISA with support for highly-parallel multicore or manycore implementations, including heterogeneous multiprocessors.

  • Optional variable-length instructions to both expand available instruction encoding space and to support an optional dense instruction encoding for improved performance, static code size, and energy efficiency.

  • A fully virtualizable ISA to ease hypervisor development.

  • An ISA that simplifies experiments with new supervisor-level and hypervisor-level ISA designs.

References

1220 questions
-3
votes
1 answer

How can I translate this C code into RISC-V rv64i assembly code?

int function (float X, float Y, float Z, int result) { result = (X*Y)+ Z; } I tried using https://godbolt.org/ but it doesnt support rv64i
-3
votes
1 answer

RISCV32 and Buildroot support

So we are trying to make our own Linux capable RISCV 32-bit processor. Does Buildroot support RISCV 32bit? If so, what are the minimal requirements and extensions that are required by Buildroot?
OYOunis
  • 1
  • 1
-5
votes
2 answers

How to implement the printf function in risc-v?

Here's the C representation of what I'm trying to do in RISC-V assembly: printf ("x=%d\n", x);
Mr Robot
  • 1
  • 1
  • 1
1 2 3
81
82