mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-24 03:39:07 +02:00
riscv: Implement vec4 shuffle and init.
This commit is contained in:
1 parent
4e17c59cc2
commit
23e9dffc68
2 files changed
+81
-1
No files matched your search
@@ -55,6 +55,7 @@ void RiscVJit::CompIR_Basic(IRInst inst) {
|
||||
FCVT(FConv::S, FConv::W, fpr.R(inst.dest), R_ZERO);
|
||||
} else {
|
||||
// TODO: In the future, could use FLI if it's approved.
|
||||
// Also, is FCVT faster?
|
||||
LI(SCRATCH1, (int32_t)inst.constant);
|
||||
FMV(FMv::W, FMv::X, fpr.R(inst.dest), SCRATCH1);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user