SimEng icon indicating copy to clipboard operation
SimEng copied to clipboard

SVE dup instructions do not process Immediate correctly.

Open FinnWilkinson opened this issue 3 years ago • 0 comments

In the current implementation, the immidiate value for the SVE dup zd, #imm{, shift} instructions is limited to 8-bits. However from the Armv8 ISA specification it states that for vector element widths of 16 bits or higher, the immidiate can be a signed multiple of 256 in the range -32768 to +32512 (excluding 0).

Additionally, the optional LSL is currently not taken into account.

FinnWilkinson avatar Feb 08 '22 17:02 FinnWilkinson