Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/rbpf/src/
H A Djit.rs31 enum OperandSize { enum
248 fn emit_load(&self, mem: &mut JitMemory, size: OperandSize, src: u8, dst: u8, offset: i32) { in emit_load() argument
250 OperandSize::S64 => 1, in emit_load()
256 OperandSize::S8 => { in emit_load()
261 OperandSize::S16 => { in emit_load()
266 OperandSize::S32 | OperandSize::S64 => { in emit_load()
288 fn emit_store(&self, mem: &mut JitMemory, size: OperandSize, src: u8, dst: u8, offset: i32) { in emit_store() argument
290 OperandSize::S16 => self.emit1(mem, 0x66), // 16-bit override in emit_store()
294 OperandSize::S8 => (true, false, 0), in emit_store()
295 OperandSize::S64 => (false, true, 1), in emit_store()
[all …]