projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9141ff8
)
align mode_E konstants at 16 bytes
author
Matthias Braun
<matze@braunis.de>
Sat, 13 Dec 2008 19:06:54 +0000
(19:06 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sat, 13 Dec 2008 19:06:54 +0000
(19:06 +0000)
[r24619]
ir/be/ia32/ia32_common_transform.c
patch
|
blob
|
history
diff --git
a/ir/be/ia32/ia32_common_transform.c
b/ir/be/ia32/ia32_common_transform.c
index
ca93ecb
..
4d8fcec
100644
(file)
--- a/
ir/be/ia32/ia32_common_transform.c
+++ b/
ir/be/ia32/ia32_common_transform.c
@@
-141,6
+141,11
@@
ir_entity *create_float_const_entity(ir_node *cnst)
res = new_entity(get_glob_type(), ia32_unique_id(".LC%u"), tp);
+ /* align mode_E at 16 byte for faster access */
+ if (get_mode_size_bits(mode) >= 80) {
+ set_entity_align(res, 16);
+ }
+
set_entity_ld_ident(res, get_entity_ident(res));
set_entity_visibility(res, visibility_local);
set_entity_variability(res, variability_constant);