Skip to content

Decoder/formatter failures #233

@ghost

Description

{er} is ignored, see the SDM

62F17E187AC1 vcvtudq2pd zmm0, ymm1
ERROR: GENERAL_ERROR Could not decode at offset: 0x0 PC: 0x0: [62F17E187AC1000000000000000000]
62F17E18E6C1 vcvtdq2pd zmm0, ymm1
ERROR: GENERAL_ERROR Could not decode at offset: 0x0 PC: 0x0: [62F17E18E6C1000000000000000000]

Offset is unsigned and should not be sign-extended (32-bit code)

669AADE44E6D call far 0xffffe4ad, 0x6d4e
66EAADE44E6D jmp far 0xffffe4ad, 0x6d4e

Can't disassemble pvalidate in 16/32-bit mode (AMD: "While this instruction is intended for use in SNP-active guest system software, it is recognized in any operating mode at CPL0.")

F20F01FF pvalidate

R8D/R9D can't be used in 32-bit mode. RX bits should probably be ignored (I haven't tested real HW)

8F2A7810C100000000 bextr r8d, ecx, 0x0
8F287085044820 vpmacssww xmm0, xmm1, xmmword ptr [eax+r9d*2], xmm2

Fails to decode this in 32-bit mode. According to the SDM, V' is ignored in 16/32-bit mode, see SDM vol 2, Table 2-39 (page 77), bottom two rows.

62F17C0010C1 vmovups xmm0, xmm1 ; XED fails
ERROR: BAD_EVEX_V_PRIME Could not decode at offset: 0x0 PC: 0x0: [62F17C0010C1000000000000000000]
62F17C0810C1 vmovups xmm0, xmm1 ; works

imm shouldn't show the reg op (upper 4 bits)

C4E37148C230 vpermil2ps xmm0, xmm1, xmm2, xmm3, 0x30
C4E37149C230 vpermil2pd xmm0, xmm1, xmm2, xmm3, 0x30

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions