[LLVMbugs] [Bug 24081] New: missed opportunities for using merge sections on ELF
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jul 10 06:19:28 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24081
Bug ID: 24081
Summary: missed opportunities for using merge sections on ELF
Product: new-bugs
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
ELF doesn't have a fixed set of sections. In particular, the merge size is just
a field of the section (e_shentsize).
We don't model that very well and miss out on some changes to use those
sections. For example, given
__m256 bar(__m256 a) {
__m256 c = {1,2,3,4};
return a + c;
}
We use
.section .rodata,"a", at progbits
we we could use a merge section with an entry size of 32. I think the same
happens for size 2 (half float for example).
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150710/25315fb0/attachment.html>
More information about the llvm-bugs
mailing list