codekingpro/portable-devtools
114k
1// asmcheck2 3// Copyright 2024 The Go Authors. All rights reserved.4// Use of this source code is governed by a BSD-style5// license that can be found in the LICENSE file.6 7package codegen8 9type T1 struct {10 x string11}12 13func f1() *T1 {14 // amd64:-`MOVQ\s[$]0`,-`MOVUPS\sX15`15 return &T1{}16}17 18type T2 struct {19 x, y string20}21 22func f2() *T2 {23 // amd64:-`MOVQ\s[$]0`,-`MOVUPS\sX15`24 return &T2{}25}26 27type T3 struct {28 x complex12829}30 31func f3() *T3 {32 // amd64:-`MOVQ\s[$]0`,-`MOVUPS\sX15`33 return &T3{}34}35 36type T4 struct {37 x []byte38}39 40func f4() *T4 {41 // amd64:-`MOVQ\s[$]0`,-`MOVUPS\sX15`42 return &T4{}43}44 45type T5 struct {46 x any47}48 49func f5() *T5 {50 // amd64:-`MOVQ\s[$]0`,-`MOVUPS\sX15`51 return &T5{}52}53 