arudradey/fullhtml-storage / emsdk /upstream /emscripten /system /lib /libc /emscripten_memcpy_bulkmem.S
arudradey's picture
download
raw
521 Bytes
#ifdef __wasm64__
#define PTR i64
#else
#define PTR i32
#endif
.globl _emscripten_memcpy_bulkmem
_emscripten_memcpy_bulkmem:
.functype _emscripten_memcpy_bulkmem (PTR, PTR, PTR) -> (PTR)
local.get 2
#ifdef __wasm64__
i32.wrap_i64
#endif
// memory.copy traps on OOB zero-length copies, but memcpy must not.
if
local.get 0
local.get 1
local.get 2
memory.copy 0, 0
end_if
local.get 0
end_function
.section .custom_section.target_features,"",@
.int8 1
.int8 43
.int8 11
.ascii "bulk-memory"

Xet Storage Details

Size:
521 Bytes
·
Xet hash:
d7d2478e4d8ccd8863a4f31a38c791098f26f62114646bbdc29b4d5a579f1019

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.