MCPcopy Create free account
hub / github.com/doldecomp/mkdd / OSInitFastCast

Function OSInitFastCast

include/dolphin/os/OSFastCast.h:21–44  ·  view source on GitHub ↗

clang-format off

Source from the content-addressed store, hash-verified

19#define OS_FASTCAST_S16 5
20// clang-format off
21static inline void OSInitFastCast(void) {
22#ifdef __MWERKS__
23 asm
24 {
25 li r3, OS_GQR_U8
26 oris r3, r3, OS_GQR_U8
27 mtspr GQR2, r3
28
29 li r3, OS_GQR_U16
30 oris r3, r3, OS_GQR_U16
31 mtspr GQR3, r3
32
33 li r3, OS_GQR_S8
34 oris r3, r3, OS_GQR_S8
35 mtspr GQR4, r3
36
37 li r3, OS_GQR_S16
38 oris r3, r3, OS_GQR_S16
39 mtspr GQR5, r3
40 }
41#else
42
43#endif
44}
45// clang-format off
46
47

Callers 5

initFunction · 0.85
THPInitFunction · 0.85
runMethod · 0.85
runMethod · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected