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