| /wasmtime-44.0.1/winch/codegen/src/isa/aarch64/ |
| H A D | asm.rs | 48 impl From<IntCmpKind> for Cond { 49 fn from(value: IntCmpKind) -> Self { in from() 51 IntCmpKind::Eq => Cond::Eq, in from() 52 IntCmpKind::Ne => Cond::Ne, in from() 53 IntCmpKind::LtS => Cond::Lt, in from() 54 IntCmpKind::LtU => Cond::Lo, in from() 55 IntCmpKind::GtS => Cond::Gt, in from() 56 IntCmpKind::GtU => Cond::Hi, in from() 57 IntCmpKind::LeS => Cond::Le, in from() 58 IntCmpKind::LeU => Cond::Ls, in from() [all …]
|
| H A D | masm.rs | 21 Imm as I, IntCmpKind, IntScratch, LoadKind, MacroAssembler as Masm, MulWideKind, 206 .trapif(IntCmpKind::LtU.into(), TrapCode::STACK_OVERFLOW); in check_stack() 536 cc: IntCmpKind, in cmov() argument 1045 kind: IntCmpKind, in cmp_with_set() argument 1123 kind: IntCmpKind, in branch() argument 1129 use IntCmpKind::*; in branch() 1198 fn trapif(&mut self, cc: IntCmpKind, code: TrapCode) -> Result<()> { in trapif() argument
|
| /wasmtime-44.0.1/winch/codegen/src/codegen/ |
| H A D | mod.rs | 9 AtomicWaitKind, Extend, Imm, IntCmpKind, IntScratch, LaneSelector, LoadKind, 499 self.masm.trapif(IntCmpKind::Ne, TRAP_BAD_SIGNATURE)?; in emit_typecheck_funcref() 603 IntCmpKind::Ne, in emit_lazy_init_funcref() 780 Ok(IntCmpKind::GtU) in emit_compute_heap_address() 856 Ok(IntCmpKind::GtU) in emit_compute_heap_address() 897 self.masm.trapif(IntCmpKind::Ne, TRAP_HEAP_MISALIGNED)?; in emit_check_align() 1024 .trapif(IntCmpKind::GeU, TRAP_TABLE_OUT_OF_BOUNDS)?; in emit_compute_table_elem_addr() 1053 .cmov(writable!(base), tmp, IntCmpKind::GeU, ptr_size)?; in emit_compute_table_elem_addr() 1138 IntCmpKind::LtS, in maybe_emit_fuel_check() 1211 IntCmpKind::LtU, in maybe_emit_epoch_check()
|
| H A D | bounds.rs | 10 masm::{Imm, IntCmpKind, IntScratch, MacroAssembler, OperandSize, RegImm, TrapCode}, 168 F: FnMut(&mut M, Bounds, Index) -> Result<IntCmpKind>, in load_heap_addr_checked() argument
|
| H A D | control.rs | 14 masm::{IntCmpKind, MacroAssembler, MemMoveDirection, RegImm, SPOffset}, 465 IntCmpKind::Eq, in emit()
|
| /wasmtime-44.0.1/winch/codegen/src/isa/x64/ |
| H A D | masm.rs | 454 cc: IntCmpKind, in cmov() argument 917 kind: IntCmpKind, in cmp_with_set() argument 940 FloatCmpKind::Eq => (src1, src2, IntCmpKind::Eq), in float_cmp_with_set() 941 FloatCmpKind::Ne => (src1, src2, IntCmpKind::Ne), in float_cmp_with_set() 942 FloatCmpKind::Gt => (src1, src2, IntCmpKind::GtU), in float_cmp_with_set() 943 FloatCmpKind::Ge => (src1, src2, IntCmpKind::GeU), in float_cmp_with_set() 1031 kind: IntCmpKind, in branch() argument 1037 use IntCmpKind::*; in branch() 1295 self.asm.trapif(IntCmpKind::Eq, code); in trapz() 2013 self.asm.setcc(IntCmpKind::Ne, dst); in v128_any_true() [all …]
|
| H A D | asm.rs | 155 impl From<IntCmpKind> for CC { 158 IntCmpKind::Eq => CC::Z, in from() 159 IntCmpKind::Ne => CC::NZ, in from() 160 IntCmpKind::LtS => CC::L, in from() 161 IntCmpKind::LtU => CC::B, in from() 162 IntCmpKind::GtS => CC::NLE, in from() 164 IntCmpKind::LeS => CC::LE, in from() 165 IntCmpKind::LeU => CC::BE, in from() 166 IntCmpKind::GeS => CC::NL, in from() 167 IntCmpKind::GeU => CC::NB, in from() [all …]
|
| /wasmtime-44.0.1/winch/codegen/src/ |
| H A D | visitor.rs | 1215 self.cmp_i32s(IntCmpKind::Eq) in visit_i32_eq() 1219 self.cmp_i64s(IntCmpKind::Eq) in visit_i64_eq() 1223 self.cmp_i32s(IntCmpKind::Ne) in visit_i32_ne() 1227 self.cmp_i64s(IntCmpKind::Ne) in visit_i64_ne() 1231 self.cmp_i32s(IntCmpKind::LtS) in visit_i32_lt_s() 1235 self.cmp_i64s(IntCmpKind::LtS) in visit_i64_lt_s() 1239 self.cmp_i32s(IntCmpKind::LtU) in visit_i32_lt_u() 1243 self.cmp_i64s(IntCmpKind::LtU) in visit_i64_lt_u() 1247 self.cmp_i32s(IntCmpKind::LeS) in visit_i32_le_s() 1251 self.cmp_i64s(IntCmpKind::LeS) in visit_i64_le_s() [all …]
|
| H A D | masm.rs | 243 pub(crate) enum IntCmpKind { enum 1525 fn cmov(&mut self, dst: WritableReg, src: Reg, cc: IntCmpKind, size: OperandSize) in cmov() argument 1784 kind: IntCmpKind, in cmp_with_set() argument 1962 kind: IntCmpKind, in branch() argument 1983 fn trapif(&mut self, cc: IntCmpKind, code: TrapCode) -> Result<()>; in trapif() argument
|