Mesa (master): radeon/llvm: Enable floating point stores on R600
Tom Stellard
tstellar at kemper.freedesktop.org
Fri Jun 29 18:55:26 UTC 2012
Module: Mesa
Branch: master
Commit: e17c586d08aee5bbaad6ac5efd2d30fe1d179406
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e17c586d08aee5bbaad6ac5efd2d30fe1d179406
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Thu Jun 28 20:27:32 2012 +0000
radeon/llvm: Enable floating point stores on R600
---
src/gallium/drivers/radeon/R600Instructions.td | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/radeon/R600Instructions.td b/src/gallium/drivers/radeon/R600Instructions.td
index d42e74c..fa52f32 100644
--- a/src/gallium/drivers/radeon/R600Instructions.td
+++ b/src/gallium/drivers/radeon/R600Instructions.td
@@ -922,6 +922,12 @@ def RAT_WRITE_CACHELESS_eg : EG_CF_RAT <0x57, 0x2, 0, (outs),
} // End usesCustomInserter = 1
+// Floating point global_store
+def : Pat <
+ (global_store (f32 R600_TReg32_X:$val), R600_TReg32_X:$ptr),
+ (RAT_WRITE_CACHELESS_eg R600_TReg32_X:$val, R600_TReg32_X:$ptr)
+>;
+
class VTX_READ_eg <bits<8> buffer_id, dag outs, list<dag> pattern>
: InstR600ISA <outs, (ins MEMxi:$ptr), "VTX_READ_eg $dst, $ptr", pattern> {
More information about the mesa-commit
mailing list