Searched refs:emit1 (Results 1 – 1 of 1) sorted by relevance
/DragonOS/kernel/crates/rbpf/src/ |
H A D | jit.rs | 113 fn emit1(&self, mem: &mut JitMemory, data: u8) { in emit1() method 131 self.emit1(mem, (modrm & 0xc0) | ((r & 0b111) << 3) | (m & 0b111)); in emit_modrm() 143 self.emit1(mem, d as u8); in emit_modrm_and_displacement() 159 self.emit1(mem, 0x40 | (w << 3) | (r << 2) | (x << 1) | b); in emit_rex() 176 self.emit1(mem, 0x50 | (r & 0b111)); in emit_push() 181 self.emit1(mem, 0x58 | (r & 0b111)); in emit_pop() 189 self.emit1(mem, op); in emit_alu32() 202 self.emit1(mem, imm as u8); in emit_alu32_imm8() 210 self.emit1(mem, op); in emit_alu64() 223 self.emit1(mem, imm as u8); in emit_alu64_imm8() [all …]
|