test/codegen/issue74788.go
raw| 1 | // asmcheck |
| 2 | |
| 3 | // Copyright 2025 The Go Authors. All rights reserved. |
| 4 | // Use of this source code is governed by a BSD-style |
| 5 | // license that can be found in the LICENSE file. |
| 6 | |
| 7 | package codegen |
| 8 | |
| 9 | func fa(a [2]int) (r [2]int) { |
| 10 | // amd64:1`MOVUPS[^,]+, X[0-9]+$`,1`MOVUPS\sX[0-9]+,[^\n]+$` |
| 11 | return a |
| 12 | } |
| 13 | |
| 14 | func fb(a [4]int) (r [4]int) { |
| 15 | // amd64:2`MOVUPS[^,]+, X[0-9]+$`,2`MOVUPS\sX[0-9]+,[^\n]+$` |
| 16 | return a |
| 17 | } |