| /wasmtime-44.0.1/cranelift/codegen/meta/src/cdsl/ |
| H A D | types.rs | 115 Float(shared_types::Float), enumerator 123 LaneType::Float(shared_types::Float::F16) => String::from( in doc() 129 LaneType::Float(shared_types::Float::F32) => String::from( in doc() 134 LaneType::Float(shared_types::Float::F64) => String::from( in doc() 139 LaneType::Float(shared_types::Float::F128) => String::from( in doc() 172 LaneType::Float(shared_types::Float::F16) => 9, in number() 173 LaneType::Float(shared_types::Float::F32) => 10, in number() 174 LaneType::Float(shared_types::Float::F64) => 11, in number() 175 LaneType::Float(shared_types::Float::F128) => 12, in number() 191 LaneType::Float(match num_bits { in float_from_bits() [all …]
|
| H A D | typevar.rs | 81 LaneType::Float(float_type) => { in new_singleton() 896 ValueType::Lane(shared_types::Float::F64.into()) in test_typeset_singleton() 939 LaneType::Float(shared_types::Float::F32), in test_typevar_singleton()
|
| /wasmtime-44.0.1/cranelift/codegen/meta/src/shared/ |
| H A D | types.rs | 45 pub(crate) enum Float { enum 65 type Item = Float; 68 0 => Some(Float::F16), in next() 69 1 => Some(Float::F32), in next() 70 2 => Some(Float::F64), in next() 71 3 => Some(Float::F128), in next() 97 assert_eq!(float_iter.next(), Some(Float::F16)); in float_iter_works() 98 assert_eq!(float_iter.next(), Some(Float::F32)); in float_iter_works() 99 assert_eq!(float_iter.next(), Some(Float::F64)); in float_iter_works() 100 assert_eq!(float_iter.next(), Some(Float::F128)); in float_iter_works()
|
| H A D | instructions.rs | 2790 let Float = &TypeVar::new( in define() localVariable 2882 Operand::new("x", Float), in define() 2883 Operand::new("y", Float), in define() 2896 .operands_in(vec![Operand::new("x", Float), Operand::new("y", Float)]) in define() 2910 .operands_in(vec![Operand::new("x", Float), Operand::new("y", Float)]) in define() 2924 .operands_in(vec![Operand::new("x", Float), Operand::new("y", Float)]) in define() 2942 .operands_in(vec![Operand::new("x", Float), Operand::new("y", Float)]) in define() 2974 Operand::new("x", Float), in define() 3026 .operands_in(vec![Operand::new("x", Float), Operand::new("y", Float)]) in define() 3045 .operands_in(vec![Operand::new("x", Float), Operand::new("y", Float)]) in define() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/inst/ |
| H A D | regs.rs | 46 PReg::new(num as usize, RegClass::Float) in vreg_preg() 170 RegClass::Float => show_vreg(rreg), in show_reg() 185 RegClass::Float => show_reg(reg), in show_reg_sized() 214 if reg.class() != RegClass::Float { in show_vreg_scalar() 236 assert_eq!(RegClass::Float, reg.class()); in show_vreg_vector() 255 assert_eq!(RegClass::Float, reg.class()); in show_vreg_element()
|
| /wasmtime-44.0.1/winch/codegen/src/ |
| H A D | regset.rs | 19 RegClass::Float => &self.fpr, in index() 29 RegClass::Float => &mut self.fpr, in index_mut() 68 class: RegClass::Float, in float() 80 debug_assert!(fpr.class == RegClass::Float); in new()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/inst/ |
| H A D | external.rs | 148 assert!(wxmm.to_reg().class() == RegClass::Float); in from() 157 assert!(xmm.class() == RegClass::Float); in from() 166 assert!(xmm.class() == RegClass::Float); in from() 315 .reg_fixed_use(reg, fixed_reg(enc, RegClass::Float)); in fixed_read_xmm() 321 .reg_fixed_use(read, fixed_reg(enc, RegClass::Float)); in fixed_read_write_xmm() 323 .reg_fixed_def(write, fixed_reg(enc, RegClass::Float)); in fixed_read_write_xmm() 328 .reg_fixed_def(reg, fixed_reg(enc, RegClass::Float)); in fixed_write_xmm() 552 let v400: Reg = VReg::new(400, RegClass::Float).into(); in pretty_print_registers() 556 let v500: Reg = VReg::new(500, RegClass::Float).into(); in pretty_print_registers()
|
| H A D | regs.rs | 83 Reg::from_virtual_reg(VReg::new(preg.index(), RegClass::Float)) in fpr() 87 PReg::new(enc as usize, RegClass::Float) in fpr_preg() 160 RegClass::Float => xmm::enc::to_string(enc), in pretty_print_reg()
|
| H A D | mod.rs | 306 RegClass::Float => { in load() 347 RegClass::Float => { in store() 1374 RegClass::Float => { in gen_move() 1416 types::F16 => Ok((&[RegClass::Float], &[types::F16])), in rc_for_type() 1417 types::F32 => Ok((&[RegClass::Float], &[types::F32])), in rc_for_type() 1418 types::F64 => Ok((&[RegClass::Float], &[types::F64])), in rc_for_type() 1419 types::F128 => Ok((&[RegClass::Float], &[types::F128])), in rc_for_type() 1424 &[RegClass::Float], in rc_for_type() 1436 RegClass::Float => types::I8X16, in canonical_type_for_rc()
|
| /wasmtime-44.0.1/winch/codegen/src/isa/ |
| H A D | reg.rs | 44 Self::new(PReg::new(enc, RegClass::Float)) in float() 70 self.class() == RegClass::Float in is_float()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/inst/ |
| H A D | regs.rs | 34 PReg::new(num as usize, RegClass::Float) in vr_preg() 45 assert!(r.class() == RegClass::Float); in is_fpr() 84 RegClass::Float => format!("%v{}", rreg.hw_enc()), in show_reg()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/inst/ |
| H A D | regs.rs | 143 let p_reg = PReg::new(enc, RegClass::Float); in f_reg() 148 PReg::new(enc, RegClass::Float) in pf_reg()
|
| H A D | vector.rs | 296 VecOpCategory::OPFVF => RegClass::Float, in vs1_regclass() 577 VecOpCategory::OPFVF => RegClass::Float, in vs1_regclass() 938 VecAluOpRR::VfmvFS => RegClass::Float, in dst_regclass() 962 VecAluOpRR::VfmvSF | VecAluOpRR::VfmvVF => RegClass::Float, in src_regclass()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/inst/unwind/ |
| H A D | winx64.rs | 12 RegClass::Float => MappedRegister::Xmm(reg.to_real_reg().unwrap().hw_enc()), in map()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/ |
| H A D | abi.rs | 52 RegClass::Float => { in compute_clobber_size() 301 RegClass::Float => &mut next_vreg, in compute_arg_locs() 316 RegClass::Float => vreg(*next_reg), in compute_arg_locs() 896 debug_assert_eq!(rd.class(), RegClass::Float); 932 debug_assert_eq!(rt.class(), RegClass::Float); 933 debug_assert_eq!(rt2.class(), RegClass::Float); 1021 debug_assert_eq!(rt.to_reg().class(), RegClass::Float); 1022 debug_assert_eq!(rt2.to_reg().class(), RegClass::Float); 1031 debug_assert_eq!(rd.to_reg().class(), RegClass::Float); 1125 RegClass::Float => vector_size / 8, in get_number_of_spillslots_for_value() [all …]
|
| /wasmtime-44.0.1/crates/wasi-nn/src/backend/ |
| H A D | pytorch.rs | 265 …Kind::Float | Kind::Half => Ok(std::mem::size_of::<f32>()), // f16 is unstable https://github.com/… in kind_to_size() 281 TensorType::Fp32 => Ok(Kind::Float), in try_from() 301 Kind::Float => Ok(TensorType::Fp32), in try_from()
|
| /wasmtime-44.0.1/cranelift/reader/src/ |
| H A D | lexer.rs | 34 Float(&'a str), // Floating point immediate enumerator 306 token(Token::Float(text), loc) in scan_number() 628 assert_eq!(lex.next(), token(Token::Float("0.0"), 1)); in lex_numbers() 629 assert_eq!(lex.next(), token(Token::Float("0x0.4p-34"), 1)); in lex_numbers() 630 assert_eq!(lex.next(), token(Token::Float("NaN"), 1)); in lex_numbers()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/pulley_shared/inst/ |
| H A D | regs.rs | 20 let p = PReg::new(enc, RegClass::Float); in f_reg() 27 PReg::new(enc, RegClass::Float) in pf_reg()
|
| H A D | mod.rs | 428 regalloc2::RegClass::Float => F64, in canonical_type_for_rc() 554 F32 => Ok((&[RegClass::Float], &[F32])), in rc_for_type() 555 F64 => Ok((&[RegClass::Float], &[F64])), in rc_for_type() 634 (RegClass::Float, _) => format!("f{n}"), in reg_name()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/unwind/ |
| H A D | winarm64.rs | 271 regalloc2::RegClass::Float => { in create_unwind_info_from_insts() 295 assert_eq!(reg.class(), regalloc2::RegClass::Float); in create_unwind_info_from_insts()
|
| /wasmtime-44.0.1/cranelift/interpreter/src/ |
| H A D | value.rs | 121 Float, enumerator 130 ValueTypeClass::Float => write!(f, "float"), in fmt() 299 _ => Err(ValueError::InvalidType(ValueTypeClass::Float, ty)), in float() 307 _ => Err(ValueError::InvalidType(ValueTypeClass::Float, self.ty())), in into_float() 322 _ => Err(ValueError::InvalidType(ValueTypeClass::Float, self.ty())), in is_nan() 495 _ => Err(ValueError::InvalidType(ValueTypeClass::Float, self.ty())), in is_negative() 511 Err(ValueError::InvalidType(ValueTypeClass::Float, self.ty())) in is_zero() 658 (a, _b, _c) => Err(ValueError::InvalidType(ValueTypeClass::Float, a.ty())), in fma()
|
| /wasmtime-44.0.1/winch/codegen/src/isa/aarch64/ |
| H A D | regs.rs | 21 Reg::new(PReg::new(num as usize, RegClass::Float)) in vreg()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/ |
| H A D | abi.rs | 142 } else if (next_f_reg <= f_end) && *rc == RegClass::Float { in compute_arg_locs() 496 RegClass::Float => F64, 539 RegClass::Float => F64, 609 RegClass::Float => 1, in get_number_of_spillslots_for_value() 773 RegClass::Float => { in compute_clobber_size()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/ |
| H A D | abi.rs | 735 RegClass::Float => types::I8X16, 779 RegClass::Float => types::I8X16, 870 RegClass::Float => vector_scale / 8, in get_number_of_spillslots_for_value() 1144 RegClass::Float => false, in is_callee_save_systemv() 1160 RegClass::Float => match r.hw_enc() { in is_callee_save_fastcall() 1175 RegClass::Float => { in compute_clobber_size()
|
| /wasmtime-44.0.1/winch/codegen/src/isa/x64/ |
| H A D | regs.rs | 94 Reg::new(PReg::new(enc as usize, RegClass::Float)) in fpr()
|