Skip to content

Commit

Permalink
dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
copy committed Nov 15, 2022
1 parent 16662ec commit c5ff1d4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/rust/cpu/cpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ pub const PREFIX_MASK_ADDRSIZE: i32 = 64;
pub const PREFIX_F2: i32 = PREFIX_REPNZ;
pub const PREFIX_F3: i32 = PREFIX_REPZ;
pub const PREFIX_66: i32 = PREFIX_MASK_OPSIZE;
pub const LOG_CPU: i32 = 2;

pub const MXCSR_MASK: i32 = 0xffff;
pub const MXCSR_FZ: i32 = 1 << 15;
Expand Down
12 changes: 0 additions & 12 deletions src/rust/cpu/sse_instr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,6 @@ pub unsafe fn mov_rm_r128(source: reg128, r: i32) {
// mov* xmm, xmm/m128
write_xmm_reg128(r, source);
}
pub unsafe fn movh_m64_r128(addr: i32, r: i32) {
// movhp* xmm, m64
let data = return_on_pagefault!(safe_read64s(addr));
let orig = read_xmm128s(r);
write_xmm128(
r,
orig.u32[0] as i32,
orig.u32[1] as i32,
data as i32,
(data >> 32) as i32,
);
}
pub unsafe fn movh_r128_m64(addr: i32, r: i32) {
// movhp* m64, xmm
let data = read_xmm128s(r);
Expand Down

0 comments on commit c5ff1d4

Please sign in to comment.