PowerPC: Add functions to read/write the full timebase value

Allows us to get rid of a silly pointer cast and deduplicate some code
from the front-end when it comes to reading the value.
This commit is contained in:
Lioncash committed 2018-06-19 13:26:08 -04:00
1 parent 18c3e0302f
commit 562d2a700b
6 files changed
+20 -18

No files matched your search

+3
View File
@@ -178,6 +178,9 @@ void RunLoop();
u32 CompactCR();
void ExpandCR(u32 cr);
u64 ReadFullTimeBaseValue();
void WriteFullTimeBaseValue(u64 value);
void UpdatePerformanceMonitor(u32 cycles, u32 num_load_stores, u32 num_fp_inst);
// Easy register access macros.