[PATCH] R600/SI: Use v_cvt_f32_ubyte* instructions

Matt Arsenault Matthew.Arsenault at amd.com
Mon May 26 15:56:42 PDT 2014


This eliminates extra extract instructions when loading an i8 vector to a float vector

http://reviews.llvm.org/D3915

Files:
  lib/Target/R600/AMDGPUISelLowering.cpp
  lib/Target/R600/AMDGPUISelLowering.h
  lib/Target/R600/AMDGPUInstrInfo.td
  lib/Target/R600/SIISelLowering.cpp
  lib/Target/R600/SIISelLowering.h
  lib/Target/R600/SIInstructions.td
  test/CodeGen/R600/bitcast.ll
  test/CodeGen/R600/cvt_f32_ubyte.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3915.9816.patch
Type: text/x-patch
Size: 19075 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140526/e6ba6bda/attachment.bin>


More information about the llvm-commits mailing list