[PATCH] R600/SI: Use mad for fsub + fmul

Matt Arsenault Matthew.Arsenault at amd.com
Sat Aug 16 19:17:56 PDT 2014


We can use a negate source modifier to match this for fsub.

http://reviews.llvm.org/D4942

Files:
  lib/Target/R600/AMDGPUISelLowering.cpp
  lib/Target/R600/AMDGPUISelLowering.h
  lib/Target/R600/AMDGPUInstrInfo.td
  lib/Target/R600/SIISelLowering.cpp
  lib/Target/R600/SIInstrInfo.td
  lib/Target/R600/SIInstructions.td
  test/CodeGen/R600/mad-sub.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4942.12586.patch
Type: text/x-patch
Size: 12081 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140817/b742158e/attachment.bin>


More information about the llvm-commits mailing list