Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
4a00c4a2
Commit
4a00c4a2
authored
Feb 13, 2010
by
Christoph Mallon
Browse files
We must be able to output 16 byte aligned long doubles, too.
[r27151]
parent
5883ec1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_emitter.c
View file @
4a00c4a2
...
...
@@ -434,10 +434,13 @@ void ia32_emit_x87_mode_suffix(const ir_node *node)
if
(
mode_is_float
(
mode
))
{
switch
(
get_mode_size_bits
(
mode
))
{
case
32
:
be_emit_char
(
's'
);
return
;
case
64
:
be_emit_char
(
'l'
);
return
;
case
80
:
case
96
:
be_emit_char
(
't'
);
return
;
case
32
:
be_emit_char
(
's'
);
return
;
case
64
:
be_emit_char
(
'l'
);
return
;
/* long doubles have different sizes due to alignment on different
* platforms. */
case
80
:
case
96
:
case
128
:
be_emit_char
(
't'
);
return
;
}
}
else
{
assert
(
mode_is_int
(
mode
));
...
...
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