Mesa (master): radeon/llvm: Expand vector fadd and fmul on R600
Tom Stellard
tstellar at kemper.freedesktop.org
Fri Sep 21 19:51:20 UTC 2012
Module: Mesa
Branch: master
Commit: b282c9611e154254de38fbc0782885944f83384b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b282c9611e154254de38fbc0782885944f83384b
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Thu Sep 13 15:14:26 2012 +0000
radeon/llvm: Expand vector fadd and fmul on R600
---
src/gallium/drivers/radeon/R600ISelLowering.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/radeon/R600ISelLowering.cpp b/src/gallium/drivers/radeon/R600ISelLowering.cpp
index e84983d..36ca246 100644
--- a/src/gallium/drivers/radeon/R600ISelLowering.cpp
+++ b/src/gallium/drivers/radeon/R600ISelLowering.cpp
@@ -34,6 +34,9 @@ R600TargetLowering::R600TargetLowering(TargetMachine &TM) :
addRegisterClass(MVT::i32, &AMDGPU::R600_Reg32RegClass);
computeRegisterProperties();
+ setOperationAction(ISD::FADD, MVT::v4f32, Expand);
+ setOperationAction(ISD::FMUL, MVT::v4f32, Expand);
+
setOperationAction(ISD::BR_CC, MVT::i32, Custom);
setOperationAction(ISD::BR_CC, MVT::f32, Custom);
More information about the mesa-commit
mailing list