| /wasmtime-44.0.1/ci/ |
| H A D | ensure_deterministic_build.sh | 16 rm -rf /tmp/reference 17 mkdir /tmp/reference 24 rm -rf /tmp/src0 25 mkdir /tmp/src0 29 cd /tmp/src0 36 rm -rf /tmp/src$i 37 mkdir /tmp/src$i 39 cd /tmp/src$i 41 rm -rf /tmp/try 42 mkdir /tmp/try [all …]
|
| H A D | build-tarballs.sh | 18 rm -rf tmp 19 mkdir tmp 38 mkdir tmp/$api_pkgname 39 mkdir tmp/$bin_pkgname 40 cp LICENSE README.md tmp/$api_pkgname 41 cp LICENSE README.md tmp/$bin_pkgname 47 mkdir tmp/$api_pkgname/min 49 cp -r $api_install/lib tmp/$api_pkgname/min 52 cp -r $api_install/lib tmp/$api_pkgname 91 tar -czvf dist/$dir.tar.gz -C tmp $dir [all …]
|
| H A D | merge-artifacts.sh | 32 rm -rf tmp 33 mkdir tmp 34 tar xf $min -C tmp 35 tar xf $normal -C tmp 36 tar -cf - -C tmp $dir | xz -T0 > dist/$dir.tar.xz 45 rm -rf tmp 46 mkdir tmp 47 (cd tmp && unzip -o ../$min) 48 (cd tmp && unzip -o ../$normal) 49 (cd tmp && 7z a ../dist/$dir.zip $dir/)
|
| H A D | build-src-tarball.sh | 18 tar -czf /tmp/$pkgname.tar.gz --transform "s/^\./$pkgname/S" --exclude=.git . 20 mv /tmp/$pkgname.tar.gz dist/
|
| /wasmtime-44.0.1/cranelift/control/src/ |
| H A D | chaos.rs | 13 tmp: Vec<u8>, field 27 tmp: Vec::new(), in new() 75 self.tmp.resize(rest.len(), 0); // allocates once per control plane in get_arbitrary() 76 self.tmp.copy_from_slice(rest); in get_arbitrary() 77 core::mem::swap(&mut self.data, &mut self.tmp); in get_arbitrary() 109 self.tmp.resize(rest.len(), 0); // allocates once per control plane in shuffle() 110 self.tmp.copy_from_slice(rest); in shuffle() 111 core::mem::swap(&mut self.data, &mut self.tmp); in shuffle()
|
| /wasmtime-44.0.1/tests/misc_testsuite/component-model/async/ |
| H A D | intra-streams.wast | 25 (local $tmp i64) 28 (local.set $tmp (call $stream.new)) 30 (local.set $r (i32.wrap_i64 (local.get $tmp))) 31 (local.set $w (i32.wrap_i64 (i64.shr_u (local.get $tmp) (i64.const 32))))
|
| H A D | intra-futures.wast | 25 (local $tmp i64) 28 (local.set $tmp (call $future.new)) 30 (local.set $r (i32.wrap_i64 (local.get $tmp))) 31 (local.set $w (i32.wrap_i64 (i64.shr_u (local.get $tmp) (i64.const 32))))
|
| H A D | drop-host.wast | 26 (local $tmp i32) 30 local.tee $tmp 36 local.get $tmp
|
| H A D | cancel-host.wast | 129 (local $tmp i32) 133 local.tee $tmp 139 local.get $tmp 218 (local $tmp i32) 222 local.tee $tmp 228 local.get $tmp 334 (local $tmp i32) 336 local.set $tmp 444 (local $tmp i32) 448 local.tee $tmp [all …]
|
| /wasmtime-44.0.1/docs/ |
| H A D | WASI-tutorial.md | 184 $ wasmtime demo.wasm test.txt /tmp/somewhere.txt 195 $ wasmtime --dir=. --dir=/tmp demo.wasm test.txt /tmp/somewhere.txt 196 $ cat /tmp/somewhere.txt 219 $ wasmtime --dir=$PWD --dir=/tmp demo.wasm test.txt /tmp/somewhere.txt 229 $ wasmtime --dir=. --dir=/tmp demo.wasm test.txt /tmp/../etc/passwd 230 error opening output /tmp/../etc/passwd: Operation not permitted 243 $ wasmtime --dir=. --dir=/var/tmp::/tmp demo.wasm test.txt /tmp/somewhere.txt 244 $ cat /var/tmp/somewhere.txt 248 This maps the name `/tmp` within the WebAssembly program to `/var/tmp` in the 249 host filesystem. So the WebAssembly program itself never sees the `/var/tmp` path,
|
| H A D | examples-coredump.md | 34 $ wasmtime -D coredump=/tmp/coredump foo.wasm 41 0: Core dumped at /tmp/coredump 49 $ wasmgdb foo.wasm /tmp/coredump
|
| /wasmtime-44.0.1/.github/workflows/ |
| H A D | performance.yml | 89 cp target/release/libwasmtime_bench_api.so /tmp/wasmtime_commit.so 103 cp target/release/libwasmtime_bench_api.so /tmp/wasmtime_main.so 112 --engine /tmp/wasmtime_main.so \ 113 --engine /tmp/wasmtime_commit.so \ 114 --output-file /tmp/results.txt 117 run: cat /tmp/results.txt 122 body="$(cat /tmp/results.txt)"
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/inst/ |
| H A D | mod.rs | 55 pub tmp: WritableGpr, field 573 tmp, in pretty_print() 577 let tmp = pretty_print_reg(tmp.to_reg(), 8); in pretty_print() localVariable 607 tmp, in pretty_print() 610 let tmp = pretty_print_reg(tmp.to_reg().to_reg(), 8); in pretty_print() localVariable 624 tmp, in pretty_print() 628 let tmp = pretty_print_reg(tmp.to_reg().to_reg(), 8); in pretty_print() localVariable 817 let tmp = tmp.to_reg().to_reg(); in pretty_print() localVariable 821 let tmp = pretty_print_reg(tmp, 8); in pretty_print() localVariable 1056 dest, uses, tmp, .. in x64_get_operands() [all …]
|
| /wasmtime-44.0.1/winch/codegen/src/codegen/ |
| H A D | bounds.rs | 181 let tmp = context.any_gpr(masm)?; in load_heap_addr_checked() localVariable 182 masm.mov(writable!(tmp), RegImm::i64(0), ptr_size)?; in load_heap_addr_checked() 184 masm.cmov(writable!(addr), tmp, cmp_kind, ptr_size)?; in load_heap_addr_checked() 185 context.free_reg(tmp); in load_heap_addr_checked()
|
| H A D | mod.rs | 877 let tmp = self.context.any_gpr(self.masm)?; in emit_check_align() localVariable 878 self.context.move_val_to_reg(&addr, tmp, self.masm)?; in emit_check_align() 882 writable!(tmp), in emit_check_align() 883 tmp, in emit_check_align() 890 writable!(tmp), in emit_check_align() 891 tmp, in emit_check_align() 896 self.masm.cmp(tmp, RegImm::Imm(Imm::i64(0)), size)?; in emit_check_align() 898 self.context.free_reg(tmp); in emit_check_align() 1001 let tmp = self.context.any_gpr(self.masm)?; in emit_compute_table_elem_addr() localVariable 1044 masm.mov(writable!(tmp), base.into(), ptr_size)?; in emit_compute_table_elem_addr() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/inst/ |
| H A D | emit.rs | 2245 tmp, in emit_uncompressed() 2259 rd: tmp, in emit_uncompressed() 2260 rs: tmp.to_reg(), in emit_uncompressed() 2317 rd: tmp, in emit_uncompressed() 2328 tmp, in emit_uncompressed() 2344 rd: tmp, in emit_uncompressed() 2405 rd: tmp, in emit_uncompressed() 2418 tmp, in emit_uncompressed() 2429 rd: tmp, in emit_uncompressed() 2496 rd: tmp, in emit_uncompressed() [all …]
|
| H A D | mod.rs | 192 tmp: Writable<Reg>, in construct_auipc_and_jalr() 552 tmp, in riscv64_get_operands() 984 tmp, in print_with_state() 986 let tmp = format_reg(tmp.to_reg()); in print_with_state() localVariable 1049 tmp, in print_with_state() 1055 let tmp = format_reg(tmp.to_reg()); in print_with_state() localVariable 1064 tmp, in print_with_state() 1068 let tmp = format_reg(tmp.to_reg()); in print_with_state() localVariable 1077 tmp, in print_with_state() 1082 let tmp = format_reg(tmp.to_reg()); in print_with_state() localVariable [all …]
|
| H A D | args.rs | 1493 tmp: WritableReg, in unset() 1497 assert!(rd != tmp); in unset() 1502 rd: tmp, in unset() 1503 rs1: tmp.to_reg(), in unset() 1506 insts.push(Inst::construct_bit_not(tmp, tmp.to_reg())); in unset() 1511 rs2: tmp.to_reg(), in unset() 1518 tmp: WritableReg, in set() 1523 assert!(rd != tmp); in set() 1527 rd: tmp, in set() 1535 rd: tmp, in set() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/ |
| H A D | abi.rs | 316 let tmp = writable_spilltmp_reg(); in gen_sp_reg_adjust() localVariable 317 insts.extend(Inst::load_constant_u64(tmp, amount as i64 as u64)); in gen_sp_reg_adjust() 322 rs2: tmp.to_reg(), in gen_sp_reg_adjust() 570 let tmp = alloc_tmp(Self::word_type()); localVariable 571 insts.extend(Inst::load_constant_u64(tmp, size as u64)); 585 vreg: tmp.to_reg(), 707 let tmp = Writable::from_reg(x_reg(28)); // t3 in gen_inline_probestack() localVariable 710 Self::gen_probestack_unroll(insts, tmp, guard_size, probe_count) in gen_inline_probestack() 715 tmp, in gen_inline_probestack() 1089 tmp: Writable<Reg>, in gen_probestack_unroll() [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/riscv64/lower/ |
| H A D | isle.rs | 285 let tmp = self.temp_writable_reg(I64); in load_ra() localVariable 287 rd: tmp, in load_ra() 292 tmp.to_reg() in load_ra() 456 let tmp = self.temp_writable_reg(I64); in gen_shamt() localVariable 459 rd: tmp, in gen_shamt() 463 tmp.to_reg() in gen_shamt() 466 let tmp = self.temp_writable_reg(I64); in gen_shamt() localVariable 467 self.emit(&MInst::load_imm12(tmp, Imm12::from_i16(ty_bits))); in gen_shamt() 472 rs1: tmp.to_reg(), in gen_shamt()
|
| /wasmtime-44.0.1/cranelift/codegen/src/machinst/ |
| H A D | abi.rs | 889 let tmp; in from_func_sig() localVariable 896 tmp = [sig.params[struct_ret_index]]; in from_func_sig() 897 &tmp in from_func_sig() 1625 vreg: Writable::from_reg(tmp), in gen_copy_arg_to_regs() 1628 tmp in gen_copy_arg_to_regs() 1855 Writable::from_reg(tmp), in gen_call_args() 1859 tmp, in gen_call_args() 1896 Writable::from_reg(tmp), in gen_call_args() 1902 (tmp, word_ty) in gen_call_args() 1919 Writable::from_reg(tmp), in gen_call_args() [all …]
|
| /wasmtime-44.0.1/winch/codegen/src/isa/x64/ |
| H A D | masm.rs | 1091 self.asm.mov_rr(src.into(), tmp, size); in popcnt() 1126 context.free_reg(tmp.to_reg()); in popcnt() 1309 self.asm.cmp_rr(tmp, index, size); in jmp_table() 1968 .xmm_vpcmpeq_rrr(tmp.writable(), tmp.inner(), tmp.inner(), OperandSize::S32); in v128_not() 2383 masm.v128_xor(tmp.inner(), tmp.inner(), tmp.writable())?; in v128_neg() 2392 tmp.writable(), in v128_neg() 2393 tmp.inner(), in v128_neg() 2394 tmp.inner(), in v128_neg() 2400 tmp.inner(), in v128_neg() 2401 tmp.writable(), in v128_neg() [all …]
|
| /wasmtime-44.0.1/cranelift/filetests/filetests/isa/riscv64/ |
| H A D | bitops.clif | 15 ; clz a0,a3##ty=i8 tmp=a2 step=a1 43 ; clz a0,a3##ty=i16 tmp=a2 step=a1 71 ; clz a0,a3##ty=i32 tmp=a2 step=a1 99 ; clz a0,a3##ty=i64 tmp=a2 step=a1 126 ; clz a2,a1##ty=i64 tmp=a4 step=a3 127 ; clz a3,a0##ty=i64 tmp=a5 step=a4 175 ; clz a2,a3##ty=i64 tmp=a0 step=a1 213 ; clz a2,a3##ty=i64 tmp=a0 step=a1 250 ; clz a0,a3##ty=i64 tmp=a2 step=a1 285 ; clz a0,a3##ty=i64 tmp=a2 step=a1 [all …]
|
| /wasmtime-44.0.1/winch/codegen/src/isa/aarch64/ |
| H A D | asm.rs | 1269 tmp: Writable<Reg>, field 1279 pub(crate) fn new(reg: Writable<Reg>, tmp: Writable<Reg>, buf: &mut MachBuffer<Inst>) -> Self { in new() 1280 let insns = Self::add_immediate_instruction_sequence(reg, tmp, 0); in new() 1285 Self { region, reg, tmp } in new() 1290 tmp: Writable<Reg>, in add_immediate_instruction_sequence() 1301 let tmp = tmp.map(Into::into); localVariable 1305 let mov_insn = enc_move_wide(inst::MoveWideOp::MovZ, tmp, imm_hi, size); 1308 let movk_insn = enc_movk(tmp, imm_lo, size); 1319 tmp.to_reg(), 1333 let insns = Self::add_immediate_instruction_sequence(self.reg, self.tmp, val); in finalize()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/ |
| H A D | lower.rs | 194 let tmp = ctx.alloc_tmp(types::I64).only_reg().unwrap(); in emit_vm_call() localVariable 196 dst: tmp.map(Gpr::unwrap_new), in emit_vm_call() 201 let call_info = ctx.gen_call_info(sig, RegMem::reg(tmp.to_reg()), uses, defs, None, false); in emit_vm_call()
|