/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/codegen/memcombine_simd.go
22 строки
616 B
ArsenySamoylov
cmd/compile: pair NEON loads/stores
28 июл 2026, 23:53
28 июл 2026, 23:53
3e6eb83
Код
Авторство
О чём код?
// asmcheck //go:build goexperiment.simd // Copyright 2026 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package codegen import "simd/archsimd" // TODO: Move these tests to memcombine.go when GOEXPERIMENT=simd becomes the default func dwloadInt64x2(p *struct{ a, b archsimd.Int64x2 }) (archsimd.Int64x2, archsimd.Int64x2) { // arm64:"FLDPQ " return p.a, p.b } func dwstoreInt64x2(p *struct{ a, b archsimd.Int64x2 }, a, b archsimd.Int64x2) { // arm64:`FSTPQ\s\(F[0-9]+, F[0-9]+\), \(R[0-9]+\)` p.a = a p.b = b }