Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
cc1556d9
Commit
cc1556d9
authored
Dec 13, 2010
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runtime/linux/386: set FPU to 64-bit precision
Fixes #550. R=r CC=golang-dev
https://golang.org/cl/3469044
parent
84713d46
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/pkg/runtime/linux/386/rt0.s
src/pkg/runtime/linux/386/rt0.s
+8
-0
No files found.
src/pkg/runtime/linux/386/rt0.s
View file @
cc1556d9
...
@@ -5,5 +5,13 @@
...
@@ -5,5 +5,13 @@
//
Darwin
and
Linux
use
the
same
linkage
to
main
//
Darwin
and
Linux
use
the
same
linkage
to
main
TEXT
_rt0_386_linux
(
SB
),7,$0
TEXT
_rt0_386_linux
(
SB
),7,$0
//
Linux
starts
the
FPU
in
extended
double
precision
.
//
Other
operating
systems
use
double
precision
.
//
Change
to
double
precision
to
match
them
,
//
and
to
match
other
hardware
that
only
has
double
.
PUSHL
$
0x27F
FLDCW
0
(
SP
)
POPL
AX
JMP
_rt0_386
(
SB
)
JMP
_rt0_386
(
SB
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment