LEFT | RIGHT |
1 // Copyright 2009 The Go Authors. All rights reserved. | 1 // Copyright 2009 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 #include "386_asm.h" | 5 #include "asm_386.h" |
6 | 6 |
7 TEXT _rt0_386(SB),7,$0 | 7 TEXT _rt0_386(SB),7,$0 |
8 // Linux, Windows start the FPU in extended double precision. | 8 // Linux, Windows start the FPU in extended double precision. |
9 // Other operating systems use double precision. | 9 // Other operating systems use double precision. |
10 // Change to double precision to match them, | 10 // Change to double precision to match them, |
11 // and to match other hardware that only has double. | 11 // and to match other hardware that only has double. |
12 PUSHL $0x27F | 12 PUSHL $0x27F |
13 FLDCW 0(SP) | 13 FLDCW 0(SP) |
14 POPL AX | 14 POPL AX |
15 | 15 |
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 CALL runtime·setldt(SB) | 535 CALL runtime·setldt(SB) |
536 RET | 536 RET |
537 | 537 |
538 TEXT runtime·emptyfunc(SB),0,$0 | 538 TEXT runtime·emptyfunc(SB),0,$0 |
539 RET | 539 RET |
540 | 540 |
541 TEXT runtime·abort(SB),7,$0 | 541 TEXT runtime·abort(SB),7,$0 |
542 INT $0x3 | 542 INT $0x3 |
543 | 543 |
544 GLOBL runtime·tls0(SB), $32 | 544 GLOBL runtime·tls0(SB), $32 |
LEFT | RIGHT |