sh4/canonical: Provide impls for sync_sr and sync_fpscr
This shouldn't be a requirement as directly using shil_cf_ext should work, but for some reason if I don't msvc optimizes the functions out.
This commit is contained in:
parent
cbda836a96
commit
fb55e7f6f8
|
@ -207,18 +207,26 @@ shil_opc_end()
|
|||
|
||||
//Canonical impl. opcodes !
|
||||
shil_opc(sync_sr)
|
||||
shil_canonical
|
||||
(
|
||||
void, f1, (),
|
||||
UpdateSR();
|
||||
)
|
||||
shil_compile
|
||||
(
|
||||
shil_cf_ext(UpdateSR);
|
||||
//die();
|
||||
shil_cf(f1);
|
||||
)
|
||||
shil_opc_end()
|
||||
|
||||
shil_opc(sync_fpscr)
|
||||
shil_canonical
|
||||
(
|
||||
void, f1, (),
|
||||
UpdateFPSCR();
|
||||
)
|
||||
shil_compile
|
||||
(
|
||||
shil_cf_ext(UpdateFPSCR);
|
||||
//die();
|
||||
shil_cf(f1);
|
||||
)
|
||||
shil_opc_end()
|
||||
|
||||
|
|
Loading…
Reference in New Issue