You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce infrastructure to register user-defined APEX intrinsics as
RISC-V built-in functions during pragma handling. This includes:
- Adding the arcv_apex_builtin_description structure and related data
to store metadata for up to 384 APEX instructions.
- Implementing arcv_apex_init_builtin(), which validates and resolves
its instruction format, determines its internal instruction code
(icode), modifies an existing function declaration as a built-in
function, and updates the function declaration with custom function
code.
- Hooking up arcv_apex_init_builtin() in arcv_apex_pragma_intrinsic().
- Extending riscv_builtin_class with RISCV_BUILTIN_APEX and updating
RISCV_BUILTIN_SHIFT to 2.
This allows the compiler to recognize and process APEX intrinsics
defined by users via pragma directives as first-class built-in functions.
Signed-off-by: Luis Silva <[email protected]>
0 commit comments