Russ Cox | 7c2b159 | 2010-10-25 17:55:50 -0700 | [diff] [blame] | 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 | // Export guts for testing. |
| 6 | |
| 7 | package runtime |
| 8 | |
| 9 | var Fadd64 = fadd64 |
| 10 | var Fsub64 = fsub64 |
| 11 | var Fmul64 = fmul64 |
| 12 | var Fdiv64 = fdiv64 |
| 13 | var F64to32 = f64to32 |
| 14 | var F32to64 = f32to64 |
| 15 | var Fcmp64 = fcmp64 |
| 16 | var Fintto64 = fintto64 |
| 17 | var F64toint = f64toint |
Russ Cox | 025abd5 | 2011-07-19 11:01:17 -0400 | [diff] [blame] | 18 | |
| 19 | func entersyscall() |
| 20 | func exitsyscall() |
Alex Brainman | b776b9e | 2011-11-08 16:53:31 +1100 | [diff] [blame] | 21 | func golockedOSThread() bool |
Russ Cox | 025abd5 | 2011-07-19 11:01:17 -0400 | [diff] [blame] | 22 | |
| 23 | var Entersyscall = entersyscall |
| 24 | var Exitsyscall = exitsyscall |
Alex Brainman | b776b9e | 2011-11-08 16:53:31 +1100 | [diff] [blame] | 25 | var LockedOSThread = golockedOSThread |