projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5883ec1
)
We must be able to output 16 byte aligned long doubles, too.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 13 Feb 2010 18:08:52 +0000
(18:08 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sat, 13 Feb 2010 18:08:52 +0000
(18:08 +0000)
[r27151]
ir/be/ia32/ia32_emitter.c
patch
|
blob
|
history
diff --git
a/ir/be/ia32/ia32_emitter.c
b/ir/be/ia32/ia32_emitter.c
index
9e995b1
..
ba007bf
100644
(file)
--- a/
ir/be/ia32/ia32_emitter.c
+++ b/
ir/be/ia32/ia32_emitter.c
@@
-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));