See bug 40917: https://bugs.llvm.org/show_bug.cgi?id=40917
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Shader programming documents state that MUBUF SOFFSET is "SGPR to supply unsigned byte offset. Must be an SGPR, M0 or inline constant."
Also note that our tests are based on SP3 tables which also allow inline constants.
Of course, using fp inline constants in this context is meaningless.
Comment Actions
However, assembler can correctly fold the 0x3f000000 constant value into f32 inline constant shown as 0.5 during disassembly.
Comment Actions
Could you explain what issues you see in this change? I'm trying to make assembler as close to SP3 as possible.