[llvm-commits] [PATCH][please review] Optimize ARM Position Independent Code Generation
Yin Ma
yinma at codeaurora.org
Thu Aug 23 10:51:02 PDT 2012
Hi
Currently LLVM ARM backend is still using the x86 way to generate
position independent code. The algorithm retrieves the pointer of
global offset table at first. However, GCC has been using the label
relative offset to computer position independent code. The GCC way
results smaller code size in ARM architecture. This patch is to
implement GCC way to generate position independent code.
In the attachment.
Pic2.diff is the code patch
the rest of four files are the test validation results before and
after code changed
This patch addressed the problem I submitted before. The default
Option has been set to off. A segment of redundant elimination code
has been removed.
Please give a review again
Yin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120823/9fdda090/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic2.diff
Type: application/octet-stream
Size: 13879 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120823/9fdda090/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: report.simple.new.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120823/9fdda090/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: report.simple.org.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120823/9fdda090/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.new
Type: application/octet-stream
Size: 3081 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120823/9fdda090/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.org
Type: application/octet-stream
Size: 3049 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120823/9fdda090/attachment-0002.obj>
More information about the llvm-commits
mailing list