[PATCH] D12140: AMDGPU: Add sdst operand to VOP2b instructions

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 01:20:05 PDT 2015


arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.

The VOP3 encoding of these allows any SGPR pair for the i1
output, but this was forced before to always use vcc.
This doesn't yet try to use this, but does add the operand
to the definitions so the main change is adding vcc to the
output of the VOP2 encoding.

http://reviews.llvm.org/D12140

Files:
  lib/Target/AMDGPU/SIInstrInfo.td
  lib/Target/AMDGPU/SIInstructions.td
  test/CodeGen/AMDGPU/add.ll
  test/CodeGen/AMDGPU/array-ptr-calc-i32.ll
  test/CodeGen/AMDGPU/cvt_f32_ubyte.ll
  test/CodeGen/AMDGPU/ds-negative-offset-addressing-mode-loop.ll
  test/CodeGen/AMDGPU/ds_read2st64.ll
  test/CodeGen/AMDGPU/llvm.AMDGPU.bfe.i32.ll
  test/CodeGen/AMDGPU/local-memory-two-objects.ll
  test/CodeGen/AMDGPU/operand-folding.ll
  test/CodeGen/AMDGPU/scratch-buffer.ll
  test/CodeGen/AMDGPU/shl_add_constant.ll
  test/CodeGen/AMDGPU/shl_add_ptr.ll
  test/CodeGen/AMDGPU/sub.ll
  test/CodeGen/AMDGPU/udivrem.ll
  test/CodeGen/AMDGPU/vop-shrink.ll
  test/MC/AMDGPU/vop2.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12140.32515.patch
Type: text/x-patch
Size: 31850 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150819/9f113fc5/attachment.bin>


More information about the llvm-commits mailing list