fn load_doubleword_raw(&mut self, p_address: u64) -> u64 {
		let effective_address = self.get_effective_address(p_address);
		match effective_address >= DRAM_BASE
			&& effective_address.wrapping_add(7) > effective_address
		{
			// Fast path. Directly load main memory at a time.
			true => self.memory.read_doubleword(effective_address),
			false => {
				let mut data = 0 as u64;
				for i in 0..8 {
					data |= (self.load_raw(effective_address.wrapping_add(i)) as u64) << (i * 8)
				}
				data
			}
		}
	}
/// Loads eight bytes from main memory or peripheral devices depending on
/// physical address.
///
/// # Arguments
/// * `p_address` Physical address
Loads eight bytes from main memory or peripheral devices depending on
physical address.
Loads eight bytes from main memory or peripheral devices depending on physical address .
fn load_doubleword_raw(&mut self, p_address: u64) -> u64 {
		let effective_address = self.get_effective_address(p_address);
		match effective_address >= DRAM_BASE
			&& effective_address.wrapping_add(7) > effective_address
		{
			// Fast path. Directly load main memory at a time.
			true => self.memory.read_doubleword(effective_address),
			false => {
				let mut data = 0 as u64;
				for i in 0..8 {
					data |= (self.load_raw(effective_address.wrapping_add(i)) as u64) << (i * 8)
				}
				data
			}
		}
	}
fn load_doubleword_raw ( & mut self , p_address : u64 ) -> u64 { let effective_address = self . get_effective_address ( p_address ) ; match effective_address >= DRAM_BASE && effective_address . wrapping_add ( 7 ) > effective_address { // Fast path. Directly load main memory at a time. true => self . memory . read_doubleword ( effective_address ) , false => { let mut data = 0 as u64 ; for i in 0 .. 8 { data |= ( self . load_raw ( effective_address . wrapping_add ( i ) ) as u64 ) << ( i * 8 ) } data } } }
Loads eight bytes from main memory or peripheral devices depending on
physical address.
Loads eight bytes from main memory or peripheral devices depending on physical address .
&mut self
p_address
u64