Ulrich Weigand
2013-Apr-14 17:59 UTC
[LLVMdev] [RFC/PATCH][1/4] New SystemZ backend: LLVM code changes
Hello, this set of patches adds SystemZ support to base LLVM. This is split up into three patches just to simplify review; they should be committed as a single change if approved. The first patch adds SystemZ support to the configure logic and support for the systemz Triple. This ought to be straightfoward. The second patch adds changes to LLVM common code required to support the SystemZ ELF object format, including relocation types and processing and the runtime loader. There is one change to common code that it not solely SystemZ related: the patch adds a new routine "getStubAlignment", which a target can use to inform common code that JIT stubs require a certain alignment. Note that common code will not actually perform that alignment, but it will add enough extra space when allocating text sections to enable platform code to align its stubs accordingly. [ This new routine will return 1 for all existing platforms, and thus ought not to change any existing behaviour. ] The third patch then adds all the backend files. No further changes to common code are required to get the LLVM backend working. [See also LLVMdev for the full set of SystemZ patches and discussion.] Bye, Ulrich (See attached file: diff-systemz-llvm-config)(See attached file: diff-systemz-llvm-object)(See attached file: diff-systemz-llvm-target) -------------- next part -------------- A non-text attachment was scrubbed... Name: diff-systemz-llvm-config Type: application/octet-stream Size: 15609 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130414/94d47e57/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: diff-systemz-llvm-object Type: application/octet-stream Size: 16220 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130414/94d47e57/attachment-0001.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: diff-systemz-llvm-target Type: application/octet-stream Size: 439907 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130414/94d47e57/attachment-0002.obj>
Kaylor, Andrew
2013-Apr-15 22:14 UTC
[LLVMdev] [RFC/PATCH][1/4] New SystemZ backend: LLVM code changes
The MCJIT parts of the patch look good. -Andy -----Original Message----- From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-bounces at cs.uiuc.edu] On Behalf Of Ulrich Weigand Sent: Sunday, April 14, 2013 11:00 AM To: LLVM Developers Mailing List; llvm-commits at cs.uiuc.edu Subject: [RFC/PATCH][1/4] New SystemZ backend: LLVM code changes Hello, this set of patches adds SystemZ support to base LLVM. This is split up into three patches just to simplify review; they should be committed as a single change if approved. The first patch adds SystemZ support to the configure logic and support for the systemz Triple. This ought to be straightfoward. The second patch adds changes to LLVM common code required to support the SystemZ ELF object format, including relocation types and processing and the runtime loader. There is one change to common code that it not solely SystemZ related: the patch adds a new routine "getStubAlignment", which a target can use to inform common code that JIT stubs require a certain alignment. Note that common code will not actually perform that alignment, but it will add enough extra space when allocating text sections to enable platform code to align its stubs accordingly. [ This new routine will return 1 for all existing platforms, and thus ought not to change any existing behaviour. ] The third patch then adds all the backend files. No further changes to common code are required to get the LLVM backend working. [See also LLVMdev for the full set of SystemZ patches and discussion.] Bye, Ulrich (See attached file: diff-systemz-llvm-config)(See attached file: diff-systemz-llvm-object)(See attached file: diff-systemz-llvm-target)
Seemingly Similar Threads
- [LLVMdev] [RFC/PATCH][2/4] New SystemZ backend: LLVM testsuite changes
- [LLVMdev] [RFC/PATCH][3/4] New SystemZ backend:Clang changes
- [LLVMdev] Removing TargetMachine CPU auto-detection for PowerPC and SystemZ?
- [LLVMdev] Code ownership for SystemZ port
- [LLVMdev] [RFC/PATCH][0/4] New SystemZ backend