8000 Comply with RISC-V toolchain conventions for vendor extensions. · Issue #105 · CHERIoT-Platform/llvm-project · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Comply with RISC-V toolchain conventions for vendor extensions. #105
Open
@resistor

Description

@resistor

Cheriot v1 needs to conform to standardized conventions for RISC-V vendor extensions in order to be acceptable to upstream LLVM. These conventions are documented here: https://github.com/riscv-non-isa/riscv-toolchain-conventions/blob/main/src/toolchain-conventions.adoc#conventions-for-vendor-extensions

  • Xcheriotv1 subtarget feature is defined and used
  • Instruction mnemonics are prefixed with "ct."
  • CSRs are prefixed with "ct."
  • Relocations use R_RISCV_VENDOR to exist in a vendor-specific namespace
  • All prefixes and identifiers are upstreamed into the official toolchain conventions document

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0