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:
Stefanos Kornilios Mitsis Poiitidis 2015-07-25 20:36:06 +02:00
parent cbda836a96
commit fb55e7f6f8
1 changed files with 12 additions and 4 deletions

View File

@ -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()