[llvm-bugs] [Bug 35716] New: [AMDGPU][MC] Incorrect handling of negative expressions
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Dec 21 03:51:26 PST 2017
https://bugs.llvm.org/show_bug.cgi?id=35716
Bug ID: 35716
Summary: [AMDGPU][MC] Incorrect handling of negative
expressions
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
A minus sign before a symbol is silently ignored.
For example, the following code
t=1
s_sub_u32 s0, s0, -t
t=-1
s_sub_u32 s0, s0, -t
translates to:
.text
t = 1
s_sub_u32 s0, s0, 1 ; encoding: [0x00,0x81,0x80,0x80]
t = -1
s_sub_u32 s0, s0, -1 ; encoding: [0x00,0xc1,0x80,0x80]
--
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/20171221/f71728cf/attachment.html>
More information about the llvm-bugs
mailing list