https://bugs.llvm.org/show_bug.cgi?id=43483
Bug ID: 43483
Summary: [AMDGPU][MC][GFX10] Incorrect disassembly of FLAT
SCRATCH instructions with negative offset
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: AMDGPU
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Opcodes with negative offset are decoded incorrectly - the offset value is
invalid. An example:
0xff,0x4f,0x30,0xdc,0x00,0x00,0x02,0x05
Should be decoded as follows:
scratch_load_dword v5, off, s2 offset:-1
Actual result is:
scratch_load_dword v5, off, s2 offset:2047
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs