[llvm-bugs] [Bug 28215] New: [mc] ds_min/max[_rtn]_f32 -- too many operands required

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 20 11:37:12 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28215

            Bug ID: 28215
           Summary: [mc] ds_min/max[_rtn]_f32 -- too many operands
                    required
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AMDGPU
          Assignee: artem.tamazov at amd.com
          Reporter: artem.tamazov at amd.com
                CC: llvm-bugs at lists.llvm.org, nikolay.haustov at amd.com
    Classification: Unclassified

Created attachment 16600
  --> https://llvm.org/bugs/attachment.cgi?id=16600&action=edit
02570.tests_tg_gfx7_asm_lit1_bug.06.08.min.ds_max_etc_f32.zip

> > echo ds_min_f32 v2, v4 | %bin$%\llvm-mc.exe -arch=amdgcn -show-inst -show-inst-operands -show-encoding -mcpu=bonaire
> <stdin>:1:1: note: parsed instruction: ['ds_min_f32', <register 204 mods: abs:0 neg: 0 sext:0>, <register 206 mods: abs:0 neg: 0 sext:0>]
> ds_min_f32 v2, v4
> ^
> <stdin>:1:1: error: too few operands for instruction
> ds_min_f32 v2, v4
> ^

F64 species of ds_min/max seem to be working fine.

Tested with r273139 (git # 4a94acfea8bfd6eb6b5809dd40f03e1fa42e673a)

GFX7 lit tests attached.

-- 
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/20160620/e65efe47/attachment.html>


More information about the llvm-bugs mailing list