gitee.com/quant1x/num@v0.3.2/asm/c2goasm/test/MaddMemcpy_amd64.go (about) 1 //go:build !noasm && !appengine 2 // +build !noasm,!appengine 3 4 package c2goasmtest 5 6 import ( 7 "unsafe" 8 ) 9 10 //go:noescape 11 func _MaddMemcpy(vec1, vec2, vec3 unsafe.Pointer, size1, size2 uint64, result unsafe.Pointer) 12 13 func MaddMemcpy(f1, f2, f3 *[8]float32, size1, size2 uint64) [8]float32 { 14 15 _f4 := [8]float32{} 16 17 _MaddMemcpy(unsafe.Pointer(f1), unsafe.Pointer(f2), unsafe.Pointer(f3), size1, size2, unsafe.Pointer(&_f4)) 18 19 return _f4 20 }