| /wasmtime-44.0.1/winch/codegen/src/isa/x64/ |
| H A D | asm.rs | 143 impl From<OperandSize> for args::OperandSize { implementation 794 OperandSize::S8 | OperandSize::S16 | OperandSize::S128 => unreachable!(), in xmm_and_rr() 805 OperandSize::S8 | OperandSize::S16 | OperandSize::S128 => unreachable!(), in xmm_andn_rr() 815 OperandSize::S8 | OperandSize::S16 | OperandSize::S128 => unreachable!(), in gpr_to_xmm() 827 OperandSize::S8 | OperandSize::S16 | OperandSize::S128 => unreachable!(), in xmm_to_gpr() 964 OperandSize::S8 | OperandSize::S16 | OperandSize::S128 => unreachable!(), in xmm_or_rr() 1000 OperandSize::S8 | OperandSize::S16 | OperandSize::S128 => unreachable!(), in xmm_xor_rr() 1341 OperandSize::S8 | OperandSize::S16 | OperandSize::S128 => unreachable!(), in ucomis() 1502 OperandSize::S8 | OperandSize::S16 | OperandSize::S128 => unreachable!(), in xmm_add_rr() 1513 OperandSize::S8 | OperandSize::S16 | OperandSize::S128 => unreachable!(), in xmm_sub_rr() [all …]
|
| H A D | masm.rs | 99 ptr_size: OperandSize, 353 size: OperandSize, in compute_addr() argument 455 size: OperandSize, in cmov() argument 496 assert!(from_size == OperandSize::S32 || from_size == OperandSize::S64); in add_uextend() 499 if from_size == OperandSize::S32 && size == OperandSize::S64 { in add_uextend() 618 OperandSize::S8 | OperandSize::S16 | OperandSize::S128 => { in float_copysign() 651 OperandSize::S8 | OperandSize::S16 | OperandSize::S128 => { in float_neg() 671 OperandSize::S128 | OperandSize::S16 | OperandSize::S8 => { in float_abs() 1268 .cvt_float_to_float(src, dst, OperandSize::S64, OperandSize::S32); in demote() 1274 .cvt_float_to_float(src, dst, OperandSize::S32, OperandSize::S64); in promote() [all …]
|
| /wasmtime-44.0.1/winch/codegen/src/ |
| H A D | masm.rs | 539 Operand(OperandSize), 600 Operand(OperandSize), 602 Atomic(OperandSize), 616 pub size: OperandSize, 1038 impl OperandSize { implementation 1634 size: OperandSize, in add_uextend() argument 1647 size: OperandSize, in checked_uadd() argument 1684 size: OperandSize, in float_copysign() argument 1701 size: OperandSize, in float_round() argument 1724 size: OperandSize, in shift_ir() argument [all …]
|
| H A D | visitor.rs | 1160 use OperandSize::*; in visit_i32_div_s() 1167 use OperandSize::*; in visit_i32_div_u() 1174 use OperandSize::*; in visit_i64_div_s() 1181 use OperandSize::*; in visit_i64_div_u() 1187 use OperandSize::*; in visit_i32_rem_s() 1194 use OperandSize::*; in visit_i32_rem_u() 1201 use OperandSize::*; in visit_i64_rem_s() 1208 use OperandSize::*; in visit_i64_rem_u() 1295 use OperandSize::*; in visit_i32_eqz() 1304 use OperandSize::*; in visit_i64_eqz() [all …]
|
| /wasmtime-44.0.1/winch/codegen/src/isa/aarch64/ |
| H A D | asm.rs | 11 masm::OperandSize, 38 impl From<OperandSize> for inst::OperandSize { implementation 229 size: OperandSize, in ldr() argument 766 (OperandSize::S32, OperandSize::S32) => IntToFpuOp::I32ToF32, in cvt_sint_to_float() 767 (OperandSize::S64, OperandSize::S32) => IntToFpuOp::I64ToF32, in cvt_sint_to_float() 768 (OperandSize::S32, OperandSize::S64) => IntToFpuOp::I32ToF64, in cvt_sint_to_float() 769 (OperandSize::S64, OperandSize::S64) => IntToFpuOp::I64ToF64, in cvt_sint_to_float() 789 (OperandSize::S32, OperandSize::S32) => IntToFpuOp::U32ToF32, in cvt_uint_to_float() 790 (OperandSize::S64, OperandSize::S32) => IntToFpuOp::U64ToF32, in cvt_uint_to_float() 791 (OperandSize::S32, OperandSize::S64) => IntToFpuOp::U32ToF64, in cvt_uint_to_float() [all …]
|
| H A D | masm.rs | 61 ptr_size: OperandSize, 483 size: OperandSize, in compute_addr() argument 537 size: OperandSize, in cmov() argument 568 size: OperandSize, in add_uextend() argument 590 size: OperandSize, in checked_uadd() argument 689 size: OperandSize, in float_copysign() argument 718 size: OperandSize, in float_round() argument 816 size: OperandSize, in shift_ir() argument 839 size: OperandSize, in shift() argument 1013 .cvt_float_to_float(src, dst, OperandSize::S64, OperandSize::S32); in demote() [all …]
|
| H A D | address.rs | 6 masm::{IntScratch, MacroAssembler as Masm, OperandSize, RegImm}, 133 size: OperandSize, in to_addressing_mode() argument 170 masm.mov(temp.writable(), RegImm::i64(offset), OperandSize::S64)?; in to_addressing_mode() 198 fn map_to_scale_type(size: OperandSize) -> Type { in map_to_scale_type() 200 OperandSize::S8 => types::I8, in map_to_scale_type() 201 OperandSize::S16 => types::I16, in map_to_scale_type() 202 OperandSize::S32 => types::I32, in map_to_scale_type() 203 OperandSize::S64 => types::I64, in map_to_scale_type() 204 OperandSize::S128 => types::I8X16, in map_to_scale_type()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/inst/ |
| H A D | args.rs | 236 Zero(Reg, OperandSize), 238 NotZero(Reg, OperandSize), 455 pub enum OperandSize { enum 462 impl OperandSize { implementation 465 self == OperandSize::Size32 in is32() 470 self == OperandSize::Size64 in is64() 478 OperandSize::Size32 in from_bits() 480 OperandSize::Size64 in from_bits() 512 OperandSize::Size32 => 0, in sf_bit() 513 OperandSize::Size64 => 1, in sf_bit() [all …]
|
| H A D | mod.rs | 119 size: OperandSize::Size64 127 size: OperandSize::Size64 133 size: OperandSize::Size64, 145 (4, OperandSize::Size64, !value) 948 size: OperandSize::Size64, in is_move() 1072 size: OperandSize::Size64, in gen_move() 1554 let size = OperandSize::from_ty(ty); in print_with_state() 2577 OperandSize::Size32 in print_with_state() 2818 size: OperandSize::Size64, in print_with_state() 2832 size: OperandSize::Size64, in print_with_state() [all …]
|
| H A D | emit_tests.rs | 77 size: OperandSize::Size32, in test_aarch64_binemit() 88 size: OperandSize::Size64, in test_aarch64_binemit() 99 size: OperandSize::Size32, in test_aarch64_binemit() 110 size: OperandSize::Size64, in test_aarch64_binemit() 121 size: OperandSize::Size32, in test_aarch64_binemit() 132 size: OperandSize::Size64, in test_aarch64_binemit() 143 size: OperandSize::Size32, in test_aarch64_binemit() 154 size: OperandSize::Size64, in test_aarch64_binemit() 165 size: OperandSize::Size32, in test_aarch64_binemit() 176 size: OperandSize::Size64, in test_aarch64_binemit() [all …]
|
| H A D | imms.rs | 4 use crate::isa::aarch64::inst::{OperandSize, ScalarSize}; 325 pub size: OperandSize, 986 size: OperandSize::Size64, in imm_logical_test() 997 size: OperandSize::Size64, in imm_logical_test() 1012 size: OperandSize::Size64, in imm_logical_test() 1025 size: OperandSize::Size64, in imm_logical_test() 1036 size: OperandSize::Size64, in imm_logical_test() 1047 size: OperandSize::Size64, in imm_logical_test() 1058 size: OperandSize::Size64, in imm_logical_test() 1069 size: OperandSize::Size64, in imm_logical_test() [all …]
|
| H A D | regs.rs | 3 use crate::isa::aarch64::inst::OperandSize; 182 fn show_reg_sized(reg: Reg, size: OperandSize) -> String { in show_reg_sized() 190 pub fn pretty_print_reg_sized(reg: Reg, size: OperandSize) -> String { in pretty_print_reg_sized() 196 pub fn show_ireg_sized(reg: Reg, size: OperandSize) -> String { in show_ireg_sized() 267 pub fn pretty_print_ireg(reg: Reg, size: OperandSize) -> String { in pretty_print_ireg()
|
| H A D | emit.rs | 208 size: OperandSize, in enc_move_wide() argument 422 OperandSize::Size64 => { in enc_bfm() 426 OperandSize::Size32 => { in enc_bfm() 1351 OperandSize::Size64 => { in emit() 1371 OperandSize::Size32 => { in emit() 1393 let size = OperandSize::Size64; in emit() 1409 let size = OperandSize::Size64; in emit() 2881 size: OperandSize::Size32, in emit() 2896 size: OperandSize::Size32, in emit() 3218 size: OperandSize::Size64, in emit() [all …]
|
| /wasmtime-44.0.1/cranelift/isle/veri/veri_engine/examples/broken/ |
| H A D | broken_imul.isle | 11 (size OperandSize) 27 (type OperandSize extern 42 ;; Helper for calculating the `OperandSize` corresponding to a type 43 (decl operand_size (Type) OperandSize) 44 (rule (operand_size (fits_in_32 _ty)) (OperandSize.Size32)) 45 (rule (operand_size (fits_in_64 _ty)) (OperandSize.Size64))
|
| /wasmtime-44.0.1/cranelift/isle/veri/veri_engine/examples/broken/imul/ |
| H A D | broken_imul.isle | 11 (size OperandSize) 27 (type OperandSize extern 42 ;; Helper for calculating the `OperandSize` corresponding to a type 43 (decl operand_size (Type) OperandSize) 44 (rule (operand_size (fits_in_32 _ty)) (OperandSize.Size32)) 45 (rule (operand_size (fits_in_64 _ty)) (OperandSize.Size64))
|
| /wasmtime-44.0.1/winch/codegen/src/codegen/ |
| H A D | bounds.rs | 10 masm::{Imm, IntCmpKind, IntScratch, MacroAssembler, OperandSize, RegImm, TrapCode}, 89 ptr_size: OperandSize, in load_dynamic_heap_bounds() argument 132 heap_ty_size: OperandSize, in ensure_index_and_offset() argument 158 ptr_size: OperandSize, in load_heap_addr_checked() argument 199 ptr_size: OperandSize, in load_heap_addr_unchecked() argument 222 let heap_size: OperandSize = heap.index_type().try_into()?; in load_heap_addr_unchecked() 226 if ptr_size == OperandSize::S64 && heap_size == OperandSize::S32 { in load_heap_addr_unchecked() 231 OperandSize::S32, in load_heap_addr_unchecked()
|
| H A D | context.rs | 71 OperandSize::S32, in i32_shift() 75 masm.shift(self, kind, OperandSize::S32)?; in i32_shift() 100 OperandSize::S64, in i64_shift() 104 masm.shift(self, kind, OperandSize::S64)?; in i64_shift() 279 let size: OperandSize = ty.try_into()?; in pop_to_addr() 385 OperandSize::S32 | OperandSize::S64 => TypedReg::i32(dst), in float_cmp_op() 386 OperandSize::S8 | OperandSize::S16 | OperandSize::S128 => { in float_cmp_op() 506 WasmValType::I32 => OperandSize::S32, in convert_op() 507 WasmValType::I64 => OperandSize::S64, in convert_op() 508 WasmValType::F32 => OperandSize::S32, in convert_op() [all …]
|
| H A D | mod.rs | 673 access_size: OperandSize, in emit_compute_heap_address() argument 907 access_size: OperandSize, in emit_compute_heap_address_align_checked() argument 1142 OperandSize::S64, in maybe_emit_fuel_check() 1175 OperandSize::S64, in emit_load_fuel_consumed() 1215 OperandSize::S64, in maybe_emit_epoch_check() 1256 OperandSize::S64, in emit_load_epoch_deadline_and_counter() 1271 OperandSize::S64, in emit_load_epoch_deadline_and_counter() 1299 OperandSize::S64, in emit_fuel_increment() 1308 OperandSize::S64, in emit_fuel_increment() 1395 size: OperandSize, in emit_atomic_rmw() argument [all …]
|
| H A D | env.rs | 4 codegen::{BlockSig, BuiltinFunction, BuiltinFunctions, OperandSize, control}, 41 pub(crate) element_size: OperandSize, 43 pub(crate) current_elements_size: OperandSize, 256 element_size: OperandSize::from_bytes(self.vmoffsets.ptr.size()), in resolve_table_data() 257 current_elements_size: OperandSize::from_bytes( in resolve_table_data()
|
| /wasmtime-44.0.1/cranelift/isle/veri/veri_engine/examples/broken/ctz/ |
| H A D | broken_ctz16.isle | 11 (size OperandSize) 30 (type OperandSize extern 34 (decl operand_size (Type) OperandSize) 35 (rule (operand_size (fits_in_32 _ty)) (OperandSize.Size32)) 36 (rule (operand_size (fits_in_64 _ty)) (OperandSize.Size64))
|
| H A D | broken_ctz8.isle | 11 (size OperandSize) 30 (type OperandSize extern 34 (decl operand_size (Type) OperandSize) 35 (rule (operand_size (fits_in_32 _ty)) (OperandSize.Size32)) 36 (rule (operand_size (fits_in_64 _ty)) (OperandSize.Size64))
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/inst/ |
| H A D | emit.rs | 207 (regs::rax(), OperandSize::Size8) in emit() 819 OperandSize::Size32 => ( in emit() 830 OperandSize::Size64 => ( in emit() 941 *dst_size == OperandSize::Size64, in emit() 970 *dst_size == OperandSize::Size64, in emit() 992 use OperandSize::*; in emit() 1128 OperandSize::Size32 => { in emit() 1133 OperandSize::Size64 => { in emit() 1199 use OperandSize::*; in emit() 1364 OperandSize::Size64, in emit() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/lower/ |
| H A D | isle.rs | 11 MoveWideConst, MoveWideOp, NZCV, Opcode, OperandSize, Reg, SImm9, ScalarSize, ShiftOpAndAmt, 295 extend_to: &OperandSize, in load_constant_full() argument 301 (OperandSize::Size32, ImmExtend::Sign) if bits < 32 => { in load_constant_full() 310 (OperandSize::Size32, ImmExtend::Zero) if bits < 32 => { in load_constant_full() 313 (OperandSize::Size64, ImmExtend::Sign) if bits < 64 => { in load_constant_full() 319 (OperandSize::Size64, ImmExtend::Zero) if bits < 64 => value & !(u64::MAX << bits), in load_constant_full() 340 OperandSize::Size32 in load_constant_full() 342 OperandSize::Size64 in load_constant_full() 443 fn cond_br_zero(&mut self, reg: Reg, size: &OperandSize) -> CondBrKind { in cond_br_zero() 447 fn cond_br_not_zero(&mut self, reg: Reg, size: &OperandSize) -> CondBrKind { in cond_br_not_zero()
|
| /wasmtime-44.0.1/cranelift/isle/veri/veri_engine/examples/store/ |
| H A D | broken_bvsub_store_with_load.isle | 5 (type OperandSize extern 82 (decl operand_size_of_type_32_64 (Type) OperandSize)
|
| H A D | broken_isub_store_with_load.isle | 5 (type OperandSize extern 82 (decl operand_size_of_type_32_64 (Type) OperandSize)
|