ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
mve_mem_op_t Struct Reference

One decoded MVE contiguous load/store. More...

Data Fields

uint32_t qd
 Vector register Q0..Q7, from hw2[15:13].
uint32_t rn
 Base core register 0..15, from hw1[3:0].
uint32_t off
 Byte offset: imm7 scaled by the element size.
bool load
 True for VLDR*, false for VSTR*.
bool wback
 True when the computed address is written to Rn.
bool add
 True to add the offset, false to subtract it.
bool post
 True when access precedes write-back adjustment.

Detailed Description

One decoded MVE contiguous load/store.

Filled by internal_mve_mem_decode and consumed by internal_mve_mem_exec. Offset forms access Rn +/- off; post-index forms access Rn first and then write Rn +/- off back to the base register.

Invariant
qd is in [0, 7] – it comes from a 3-bit field.
rn is in [0, 15] – it comes from a 4-bit field and may name SP.
See also
internal_mve_mem_decode Produces this.
internal_mve_mem_exec Consumes this.

Definition at line 177 of file emu_seam_mve.c.

Field Documentation

◆ add

bool mve_mem_op_t::add

True to add the offset, false to subtract it.

Definition at line 183 of file emu_seam_mve.c.

Referenced by internal_mve_mem_decode(), and internal_mve_mem_exec().

◆ load

bool mve_mem_op_t::load

True for VLDR*, false for VSTR*.

Definition at line 181 of file emu_seam_mve.c.

Referenced by internal_mve_mem_decode(), and internal_mve_mem_exec().

◆ off

uint32_t mve_mem_op_t::off

Byte offset: imm7 scaled by the element size.

Definition at line 180 of file emu_seam_mve.c.

Referenced by internal_mve_mem_decode(), and internal_mve_mem_exec().

◆ post

bool mve_mem_op_t::post

True when access precedes write-back adjustment.

Definition at line 184 of file emu_seam_mve.c.

Referenced by internal_mve_mem_decode(), and internal_mve_mem_exec().

◆ qd

uint32_t mve_mem_op_t::qd

Vector register Q0..Q7, from hw2[15:13].

Definition at line 178 of file emu_seam_mve.c.

Referenced by internal_mve_mem_decode(), and internal_mve_mem_exec().

◆ rn

uint32_t mve_mem_op_t::rn

Base core register 0..15, from hw1[3:0].

Definition at line 179 of file emu_seam_mve.c.

Referenced by internal_mve_mem_decode(), and internal_mve_mem_exec().

◆ wback

bool mve_mem_op_t::wback

True when the computed address is written to Rn.

Definition at line 182 of file emu_seam_mve.c.

Referenced by internal_mve_mem_decode(), and internal_mve_mem_exec().


The documentation for this struct was generated from the following file: