[llvm-bugs] [Bug 37738] New: [AMDGPU][MC] MTBUF syntax is incompatible with SP3
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jun 7 09:43:16 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=37738
Bug ID: 37738
Summary: [AMDGPU][MC] MTBUF syntax is incompatible with SP3
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
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.
For example:
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...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180607/f5f87a52/attachment-0001.html>
More information about the llvm-bugs
mailing list