/
CT_01_018 - Fixed length vector calling convention(LLVM)

CT_01_018 - Fixed length vector calling convention(LLVM)

About

Fixed vectors are currently passed using the same rules as structs. Sizes smaller than 2*XLEN are passed in scalar registers. Large sizes are passed in memory. This is not an efficient way to handle vectors.

Specifications:

PSABI https://github.com/riscv-non-isa/riscv-elf-psabi-doc/pull/418

C-API https://github.com/riscv-non-isa/riscv-c-api-doc/pull/68

Stakeholders/Partners

RISE:

SiFive:  Kito Cheng, Brandon Wu

Dependencies



Status

Development

COMPLETE


Development Timeline2H2024
Upstreaming

COMPLETE


Upstream Version



Contacts

Kito Cheng (SiFive)

Brandon Wu (SiFive)


Dependencies

PSABI and C-API specs



Updates

 

 

 

  • Created project

 

  • Created project



Related content