trans_addi TCG Translation Function
CodeArtifact`trans_addi` is a generated QEMU TCG translation function for the RISC-V 64 `ADDI` instruction. In the OpenVADL example, it lowers the instruction semantics `X(rd) := X(rs1) + immS` into 64-bit TCG operations by reading the source register, materializing the sign-extended immediate as a TCG constant, emitting `tcg_gen_add_i64`, moving the result to the destination register, and returning `true`.
WIKI
Overview
trans_addi is presented as generated C code for a QEMU Tiny Code Generator (TCG) translation function for the RISC-V 64 ADDI instruction. The example comes from an OpenVADL-to-QEMU generation flow in which a VADL instruction-set specification is transformed through VIAM and lowered to TCG operations before C code is emitted for a QEMU frontend. [1]
Source instruction semantics
NEIGHBORHOOD
No graph connections found for this entity yet. It may appear in future ingestion runs.
explore full graph →