MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / readq

Method readq

source/kernel/kmemory.cpp:793–804  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

791}
792
793U64 KMemory::readq(U32 address) {
794#if !defined(UNALIGNED_MEMORY)
795 if ((address & 0xFFF) < 0xFF9) {
796 int index = address >> 12;
797 MMU& mmu = data->mmu[index];
798 if (mmu.canReadRam) {
799 return *(U64*)(&(ramPageGet((RamPage)mmu.ramIndex)[address & 0xFFF]));
800 }
801 }
802#endif
803 return readd(address) | ((U64)readd(address + 4) << 32);
804}
805
806U32 KMemory::readd(U32 address) {
807 if ((address & 0xFFF) < 0xFFD) {

Callers 15

common_addpdXmmE128Function · 0.80
common_addsdXmmE64Function · 0.80
common_subpdXmmE128Function · 0.80
common_subsdXmmE64Function · 0.80
common_mulpdXmmE128Function · 0.80
common_mulsdXmmE64Function · 0.80
common_divpdXmmE128Function · 0.80
common_divsdXmmE64Function · 0.80
common_maxpdXmmE128Function · 0.80
common_maxsdXmmE64Function · 0.80
common_minpdXmmE128Function · 0.80
common_minsdXmmE64Function · 0.80

Calls 1

ramPageGetFunction · 0.85

Tested by 11

doFPREMnearestFunction · 0.64
doFISTTP64Function · 0.64
doFISTP64Function · 0.64
doFST_DOUBLE_REAL_f64Function · 0.64
doFST_DOUBLE_REAL_i64Function · 0.64
testSse2Maskmovdqu1f7Function · 0.64
testMmxMovqToEFunction · 0.64
testSse128rFunction · 0.64
testSse128E64rFunction · 0.64
testMovntq3e7Function · 0.64
testMaskmovq3f7Function · 0.64