Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
fcc88551
Commit
fcc88551
authored
Mar 30, 2009
by
Ben.Lippmeier@anu.edu.au
Browse files
SPARC NCG: When getting a 64 bit word, promote halves to 64 bit before shifting
parent
456dc6d6
Changes
1
Show whitespace changes
Inline
Side-by-side
rts/RtsAPI.c
View file @
fcc88551
...
...
@@ -307,7 +307,7 @@ rts_getInt64 (HaskellObj p)
// p->header.info == I64zh_static_info);
tmp
=
(
HsInt32
*
)
&
(
UNTAG_CLOSURE
(
p
)
->
payload
[
0
]);
HsInt64
i
=
(
HsInt64
)(
tmp
[
0
]
<<
32
)
|
(
HsInt64
)
tmp
[
1
];
HsInt64
i
=
(
HsInt64
)(
(
HsInt64
)(
tmp
[
0
]
)
<<
32
)
|
(
HsInt64
)
tmp
[
1
];
return
i
;
}
...
...
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