Home
last modified time | relevance | path

Searched refs:modrm (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/crates/rbpf/src/
H A Djit.rs129 fn emit_modrm(&self, mem: &mut JitMemory, modrm: u8, r: u8, m: u8) { in emit_modrm()
130 assert_eq!((modrm | 0xc0), 0xc0); in emit_modrm()
131 self.emit1(mem, (modrm & 0xc0) | ((r & 0b111) << 3) | (m & 0b111)); in emit_modrm()
390 let modrm = (opc & ebpf::BPF_ALU_OP_MASK) == (ebpf::MOD32_IMM & ebpf::BPF_ALU_OP_MASK); in emit_muldivmod() localVariable
400 if modrm && !is_reg && imm == 0 { in emit_muldivmod()
404 if (div || modrm) && is_reg { in emit_muldivmod()
427 if modrm { in emit_muldivmod()
447 if div || modrm { in emit_muldivmod()
460 if modrm { in emit_muldivmod()