[llvm-branch-commits] [llvm-branch] r165154 - /llvm/branches/R600/lib/Target/AMDGPU/R600ISelLowering.cpp
Tom Stellard
thomas.stellard at amd.com
Wed Oct 3 13:49:31 PDT 2012
Author: tstellar
Date: Wed Oct 3 15:49:31 2012
New Revision: 165154
URL: http://llvm.org/viewvc/llvm-project?rev=165154&view=rev
Log:
R600: Handle more vector arithmetic instructions
Modified:
llvm/branches/R600/lib/Target/AMDGPU/R600ISelLowering.cpp
Modified: llvm/branches/R600/lib/Target/AMDGPU/R600ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/R600/lib/Target/AMDGPU/R600ISelLowering.cpp?rev=165154&r1=165153&r2=165154&view=diff
==============================================================================
--- llvm/branches/R600/lib/Target/AMDGPU/R600ISelLowering.cpp (original)
+++ llvm/branches/R600/lib/Target/AMDGPU/R600ISelLowering.cpp Wed Oct 3 15:49:31 2012
@@ -36,6 +36,14 @@
setOperationAction(ISD::FADD, MVT::v4f32, Expand);
setOperationAction(ISD::FMUL, MVT::v4f32, Expand);
+ setOperationAction(ISD::FDIV, MVT::v4f32, Expand);
+ setOperationAction(ISD::FSUB, MVT::v4f32, Expand);
+
+ setOperationAction(ISD::ADD, MVT::v4i32, Expand);
+ setOperationAction(ISD::AND, MVT::v4i32, Expand);
+ setOperationAction(ISD::UDIV, MVT::v4i32, Expand);
+ setOperationAction(ISD::UREM, MVT::v4i32, Expand);
+ setOperationAction(ISD::SETCC, MVT::v4i32, Expand);
setOperationAction(ISD::BR_CC, MVT::i32, Custom);
setOperationAction(ISD::BR_CC, MVT::f32, Custom);
More information about the llvm-branch-commits
mailing list