[llvm-bugs] [Bug 37738] New: [AMDGPU][MC] MTBUF syntax is incompatible with SP3
llvm-bugs at lists.llvm.org
Thu Jun 7 09:43:16 PDT 2018
Bug ID: 37738
Summary: [AMDGPU][MC] MTBUF syntax is incompatible with SP3
Component: Backend: AMDGPU
Assignee: unassignedbugs at nondot.org
Reporter: dpreobrazhensky at luxoft.com
CC: llvm-bugs at lists.llvm.org
Currently MTBUF instructions have the following syntax:
<op> vdata, vaddr, srsrc, dfmt, nfmt, soffset [modifiers]
Also note that dfmt and nfmt modifiers may be specified as numeric codes only.
tbuffer_load_format_x v10, off, s[0:3], dfmt:1, nfmt:2, s0 glc
SP3 uses a different syntax:
<op> vdata, vaddr, srsrc, soffset [modifiers] fmt
where fmt specifies both dfmt and nfmt in a symbolic form, e.g.:
tbuffer_load_format_x v10, off, s[0:3], s0 glc format:[BUF_DATA_FORMAT_16]
This looks more logical and more convenient to me.
Should we change MTBUF syntax to be compatible with SP3?
This change will break existing code, is this acceptable?
What do you think?
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs