diff options
author | Ilia Mirkin <[email protected]> | 2015-11-06 17:18:01 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-11-06 18:13:31 -0500 |
commit | 11e3dac36e7b992e30efbce4473451c4e1ac617f (patch) | |
tree | 25b9f4a20f95dea1420b2b8212b6cd7745ccf1e8 /src/gallium/drivers/nouveau | |
parent | b487b55f7d08c00f2efabc097c7138403528893f (diff) |
nv50/ir: allow movs with TYPE_F64 destinations to be split
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_build_util.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_build_util.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_build_util.cpp index 19418c0e0f1..ece6ce40643 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_build_util.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_build_util.cpp @@ -555,6 +555,12 @@ BuildUtil::split64BitOpPostRA(Function *fn, Instruction *i, switch (i->dType) { case TYPE_U64: hTy = TYPE_U32; break; case TYPE_S64: hTy = TYPE_S32; break; + case TYPE_F64: + if (i->op == OP_MOV) { + hTy = TYPE_U32; + break; + } + /* fallthrough */ default: return NULL; } |