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
arcv: apex: Add subcode operand to APEX RTX instructions.
This patch extends "riscv_expand_builtin_direct" to optionally accept
and attach a subcode operand for APEX builtins. A new "has_subcode_p"
flag determines whether a constant RTL operand for the subcode should
be added to the operand list.
The subcode is used to extract the instruction name from
"arcv_apex_builtins" once a pattern is selected in the machine description
(see "arcv_apex_get_insn_name (rtx op)").
Also updates "riscv_check_builtin_call" and
"riscv_resolve_overloaded_builtin" to handle the new
"RISCV_BUILTIN_APEX" class.
Signed-off-by: Luis Silva <[email protected]>
0 commit comments