[llvm-bugs] [Bug 40917] New: [AMDGPU][MC][GFX9] Invalid handling of fp constants by buffer_atomic* opcodes
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Mar 1 06:03:59 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=40917
Bug ID: 40917
Summary: [AMDGPU][MC][GFX9] Invalid handling of fp constants by
buffer_atomic* opcodes
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
buffer_atomic* opcodes accept fp inline constants for src2, but they are
encoded as 0:
buffer_atomic_add v5, off, s[8:11], 1.0 offset:4095 glc
result in the following code:
[0xff,0x4f,0x08,0xe1,0x00,0x05,0x02,0x80]
buffer_atomic_add v5, off, s[8:11], 0 offset:4095 glc
Moreover, inv2pi specified as src2 triggers an exception.
--
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/20190301/3e4e0dbc/attachment.html>
More information about the llvm-bugs
mailing list