RISC-V Embedded Software Solutions

Software Development tools
Processor Probes
  • Green Hills Probe V4
    For multicore hardware bring-up, low-level debugging, and trace-powered analysis tools

Architecture-specific support for RISC-V

The Green Hills C/C++ Optimizing Compilers for RISC-V bring the following key features to the RISC-V architecture:

  • Support for a comprehensive list of ISA modules
  • Both 32-bit and 64-bit RISC-V architectures are supported for all instruction set modules
  • Compiler and debugger support for custom Instructions
  • Decades of industry-leading experience in C/C++ compiler technology that generates the fastest, smallest, and most reliable code

RISC-V is a free, open, and extensible instruction set architecture based on reduced instruction set computer principles. RISC-V is modular in nature allowing designers to include only the instruction set modules that they require, and to incorporate their own custom instructions into their design.

The Green Hills compiler supports the modular nature of the RISC-V architecture by allowing the user to choose exactly the instruction set modules they would like to compiler their code for. Supported instruction set modules are:

  • "I" Core integer set of instructions
  • "A" Atomic instructions
  • "M" Multiply and divide instructions
  • "C" Compressed Instructions
  • "F" Single precision floating point instructions
  • "D" Double precision floating point instructions
  • "G" Shorthand for “IMAFD"

Additionally, RISC-V includes a separate privileged instruction set specification. These privileged instructions are supported.

Pre-built runtime libraries are provided for compatibility with all of these configurations.

RISC-V Custom Instructions
A popular feature of the open RISC-V architecture is that users can incorporate their own custom instructions into their design. The Green Hills compilers offer an easy-to-learn and use interface for adding new instructions into the compiler, assembler, MULTI debugger, and instruction set simulator.

For more information about Green Hills optimizing compilers for C and C++, click here.