mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
R600/SI: Fix not encoding src2 for v_div_scale_{f32|f64}
This apparently got lost in the VI changes. llvm-svn: 229230
This commit is contained in:
parent
89584f899a
commit
ff22fe9dd3
@ -988,6 +988,19 @@ multiclass VOP3b_2_m <vop op, dag outs, dag ins, string asm,
|
||||
} // End sdst = SIOperand.VCC, Defs = [VCC]
|
||||
}
|
||||
|
||||
multiclass VOP3b_3_m <vop op, dag outs, dag ins, string asm,
|
||||
list<dag> pattern, string opName, string revOp,
|
||||
bit HasMods = 1, bit UseFullOp = 0> {
|
||||
def "" : VOP3_Pseudo <outs, ins, pattern, opName>;
|
||||
|
||||
|
||||
def _si : VOP3b_Real_si <op.SI3, outs, ins, asm, opName>,
|
||||
VOP3DisableFields<1, 1, HasMods>;
|
||||
|
||||
def _vi : VOP3b_Real_vi <op.VI3, outs, ins, asm, opName>,
|
||||
VOP3DisableFields<1, 1, HasMods>;
|
||||
}
|
||||
|
||||
multiclass VOP3_C_m <vop op, dag outs, dag ins, string asm,
|
||||
list<dag> pattern, string opName,
|
||||
bit HasMods, bit defExec> {
|
||||
@ -1289,7 +1302,7 @@ multiclass VOP3Inst <vop3 op, string opName, VOPProfile P,
|
||||
|
||||
multiclass VOP3b_Helper <vop op, RegisterClass vrc, RegisterOperand arc,
|
||||
string opName, list<dag> pattern> :
|
||||
VOP3b_2_m <
|
||||
VOP3b_3_m <
|
||||
op, (outs vrc:$vdst, SReg_64:$sdst),
|
||||
(ins InputModsNoDefault:$src0_modifiers, arc:$src0,
|
||||
InputModsNoDefault:$src1_modifiers, arc:$src1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user