| 1 |
// Copyright 2010 The Go Authors. All rights reserved. |
| 2 |
// Use of this source code is governed by a BSD-style |
| 3 |
// license that can be found in the LICENSE file. |
| 4 |
|
| 5 |
// This file contains declarations to test the assembly in test_asm.s. |
| 6 |
|
| 7 |
package a |
| 8 |
|
| 9 |
type S struct { |
| 10 |
i int32 |
| 11 |
b bool |
| 12 |
s string |
| 13 |
} |
| 14 |
|
| 15 |
func arg1(x int8, y uint8) |
| 16 |
func arg2(x int16, y uint16) |
| 17 |
func arg4(x int32, y uint32) |
| 18 |
func arg8(x int64, y uint64) |
| 19 |
func argint(x int, y uint) |
| 20 |
func argptr(x *byte, y *byte, c chan int, m map[int]int, f func()) |
| 21 |
func argstring(x, y string) |
| 22 |
func argslice(x, y []string) |
| 23 |
func argiface(x interface{}, y interface { |
| 24 |
m() |
| 25 |
}) |
| 26 |
func argcomplex(x complex64, y complex128) |
| 27 |
func argstruct(x S, y struct{}) |
| 28 |
func argarray(x [2]S) |
| 29 |
func returnint() int |
| 30 |
func returnbyte(x int) byte |
| 31 |
func returnnamed(x byte) (r1 int, r2 int16, r3 string, r4 byte) |
| 32 |
func returnintmissing() int |
| 33 |
func leaf(x, y int) int |
| 34 |
|
| 35 |
func noprof(x int) |
| 36 |
func dupok(x int) |
| 37 |
func nosplit(x int) |
| 38 |
func rodata(x int) |
| 39 |
func noptr(x int) |
| 40 |
func wrapper(x int) |
| 41 |
|
| 42 |
func f15271() (x uint32) |
| 43 |
func f17584(x float32, y complex64) |
| 44 |
func f29318(x [2][2]uint64) |
| 45 |
|
| 46 |
func noframe1(x int32) |
| 47 |
func noframe2(x int32) |
| 48 |
|
| 49 |
func fvariadic(int, ...int) |
| 50 |
|
| 51 |
func pickStableABI(x int) |
| 52 |
func pickInternalABI(x int) |
| 53 |
func pickFutureABI(x int) |
| 54 |
|
| 55 |
func returnABIInternal() int |
| 56 |
func returnmissingABIInternal() int |
| 57 |
func returnsyscallABIInternal() int |
| 58 |
|
| 59 |
func retjmp() int |