Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG in dec XOP VGPRy #88

Closed
lyrachord opened this issue Dec 20, 2017 · 2 comments
Closed

BUG in dec XOP VGPRy #88

lyrachord opened this issue Dec 20, 2017 · 2 comments

Comments

@lyrachord
Copy link
Contributor

000000B8  8FEA7012CA03000000  lwpval ecx,edx,dword 0x3
000000C1  8FEAF012CA03000000  lwpval rcx,edx,dword 0x3

XDIS b8: XOP       XOP        8FEA7012CA03000000       lwpval ecx, edx, 0x3
ERROR: GENERAL_ERROR Could not decode at offset: 0xc1 PC: 0xc1: [8FEAF012CA03000000]

In XED data file:

PATTERN: XOPV 0x12 VNP W0 VL128  XMAPA MOD[0b11] MOD=3 REG[0b001] RM[nnn] UIMM32()
OPERANDS: REG0=VGPRy_N():w:y REG1=GPRv_B():r:d IMM0:r:d

same as

LWPVAL reg32.vvvv, reg/mem32, imm32 8F RXB.0A 0.src1.0.00 12 /1 /imm32
LWPVAL reg64.vvvv, reg/mem32, imm32 8F RXB.0A 1.src1.0.00 12 /1 /imm32

Seems to be an error action?

@markcharney
Copy link
Contributor

Thanks for reporting this. Confirmed. I think I just need to remove the "W0" from LWPVAL/LWPINS.

@markcharney
Copy link
Contributor

pushed a fix. let me know if you have further issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants