Intrinsics/Builtins: Support for custom argument names/order #151
Labels
layer:builtins
priority:medium
seal5:settings
type:enhancement
New feature or request
type:help wanted
Extra attention is needed
type:support
As far as I can tell the order and/or names of arguments used when defining and intrinsics (in the YAML settings) should match the assembly operands of the instruction definition.
The spec of the Core-V Extension builtins uses custom argument names (i.e.
i,j
instead ofrs1,rs2
) and places the "destination & accumulator" registers not at the front. Here is a concrete Examples:int32_t __builtin_riscv_cv_mac_mac (int32_t x, int32_t y, int32_t z)
(Source)Argument/result mapping:
rD
rs1
rs2
Generated assembler:
We should...
The text was updated successfully, but these errors were encountered: