mirror of
https://github.com/FEX-Emu/FEX.git
synced 2024-12-12 00:34:40 +00:00
IR: Change VMov to use IR::OpSize
This commit is contained in:
parent
027e7624cb
commit
4a6b5d4ec7
@ -1871,7 +1871,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Vector": {
|
"Vector": {
|
||||||
"FPR = VMov u8:#RegisterSize, FPR:$Source": {
|
"FPR = VMov OpSize:#RegisterSize, FPR:$Source": {
|
||||||
"Desc" : ["Copy vector register",
|
"Desc" : ["Copy vector register",
|
||||||
"When Register size is smaller than Source register size,",
|
"When Register size is smaller than Source register size,",
|
||||||
"this op is defined to truncate and zero extend"
|
"this op is defined to truncate and zero extend"
|
||||||
|
@ -582,7 +582,7 @@ void ConstrainedRAPass::Run(IREmitter* IREmit_) {
|
|||||||
|
|
||||||
if (Reg.Class == FPRFixedClass) {
|
if (Reg.Class == FPRFixedClass) {
|
||||||
IROp_Header* Header = IR->GetOp<IROp_Header>(Old);
|
IROp_Header* Header = IR->GetOp<IROp_Header>(Old);
|
||||||
Copy = IREmit->_VMov(Header->Size, Map(Old));
|
Copy = IREmit->_VMov(IR::SizeToOpSize(Header->Size), Map(Old));
|
||||||
} else {
|
} else {
|
||||||
Copy = IREmit->_Copy(Map(Old));
|
Copy = IREmit->_Copy(Map(Old));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user