Skip to content

SystemZ Vector Load with alignment hint #2194

@juergenchrist

Description

@juergenchrist

Hi,

when trying to disassemble a SystemZ Vector Load instruction that includes an alignment hint, capstone does not recognize this instruction:

$ cstool -d systemz 0xe70050003006
ERROR: invalid assembly code

Without the alignment hint, everything works fine:

$ stool -d systemz 0xe70050000006
 0  e7 00 50 00 00 06  vl	%v0, 0(%r5)
	ID: 1966 (vl)
	op_count: 2
		operands[0].type: REG = v0
		operands[1].type: MEM
			operands[1].mem.base: REG = 5
	Groups: vector 

I guess the third operand (4-bit immediate M3 with possible values 0 for no alignment, 3 for doubleword aligned, and 4 for quadword aligned) is currently not parsed/supported. Would it be possible to add this?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions