mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
nv50/ir: allow movs with TYPE_F64 destinations to be split
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
b487b55f7d
commit
11e3dac36e
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue