blob: c603e1b0d7981057b3468b465d7df446e771b426 [file] [log] [blame]
Russ Cox7c2b1592010-10-25 17:55:50 -07001// 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// Export guts for testing.
6
7package runtime
8
9var Fadd64 = fadd64
10var Fsub64 = fsub64
11var Fmul64 = fmul64
12var Fdiv64 = fdiv64
13var F64to32 = f64to32
14var F32to64 = f32to64
15var Fcmp64 = fcmp64
16var Fintto64 = fintto64
17var F64toint = f64toint
Russ Cox025abd52011-07-19 11:01:17 -040018
19func entersyscall()
20func exitsyscall()
Alex Brainmanb776b9e2011-11-08 16:53:31 +110021func golockedOSThread() bool
Russ Cox025abd52011-07-19 11:01:17 -040022
23var Entersyscall = entersyscall
24var Exitsyscall = exitsyscall
Alex Brainmanb776b9e2011-11-08 16:53:31 +110025var LockedOSThread = golockedOSThread