search for: sop1

Displaying 2 results from an estimated 2 matches for "sop1".

Did you mean: op1
2015 Oct 23
3
[AMDGPU] AMDGPUAsmParser fails to parse several instructions
...seems to me that both are valid instructions after looking at the SI instruction spec. s_mov_b32 s0, 0xfe5163ab v_mad_f32 v9, 0.5, v5, -v8 To reproduce this, I write this two lines in a text file and run llvm-mc -arch=amdgcn -mcpu=kaveri input.s The first line has the following error message: sop1-playground.s:1:15: error: invalid immediate: only 32-bit values are legal s_mov_b32 s0, 0xfe5163ab ^ sop1-playground.s:1:25: error: failed parsing operand. s_mov_b32 s0, 0xfe5163ab ^ The part of stack dump: ... #9 0x4711ee (anony...
2015 Oct 24
2
[AMDGPU] AMDGPUAsmParser fails to parse several instructions
...p is much appreciated. On Sat, Oct 24, 2015 at 2:12 AM, Matt Arsenault <arsenm2 at gmail.com> wrote: > > > On Oct 23, 2015, at 3:36 AM, 李弘宇 via llvm-dev <llvm-dev at lists.llvm.org> > wrote: > > > The first line has the following error message: > > > > sop1-playground.s:1:15: error: invalid immediate: only 32-bit values are > legal > > s_mov_b32 s0, 0xfe5163ab > > I’ve fixed this problem in r251132. > Thanks for the reply and the quick fix of negative 32-bit immediate. > > > > The second line of the assembly has the a...