Zachary Turner
2014-Aug-19 21:44 UTC
[LLVMdev] llvm::Triple support for haswell-enabled x86_64
I'm working on LLDB and we have a bunch of code that is manually manipulating triples and doing a bunch of nasty stuff to account for the fact that llvm::Triple doesn't currently have a way to detect x86_64h. Is this something that llvm::Triple could be modified to support? Either as a new ArchType, or a new SubArchType? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140819/4e3f3ff1/attachment.html>
Jim Grosbach
2014-Aug-19 23:53 UTC
[LLVMdev] llvm::Triple support for haswell-enabled x86_64
Sure, go for it. It’d be a fairly natural fit for a SubArchType.> On Aug 19, 2014, at 2:44 PM, Zachary Turner <zturner at google.com> wrote: > > I'm working on LLDB and we have a bunch of code that is manually manipulating triples and doing a bunch of nasty stuff to account for the fact that llvm::Triple doesn't currently have a way to detect x86_64h. > > Is this something that llvm::Triple could be modified to support? Either as a new ArchType, or a new SubArchType? > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Zachary Turner
2014-Aug-19 23:57 UTC
[LLVMdev] llvm::Triple support for haswell-enabled x86_64
Sounds good, I'll give it a try sooner or later. I've never messed with triples, so is there anything I need to be aware of so I don't break any code on other platforms? In particular, I want llvm::sys::getDefaultTargetTriple() to return me this new haswell-aware triple, so what do I need to do to ensure that I don't break anyone else who is running one of these systems and previously had a different default triple? On Tue, Aug 19, 2014 at 4:53 PM, Jim Grosbach <grosbach at apple.com> wrote:> Sure, go for it. It’d be a fairly natural fit for a SubArchType. > > > > > On Aug 19, 2014, at 2:44 PM, Zachary Turner <zturner at google.com> wrote: > > > > I'm working on LLDB and we have a bunch of code that is manually > manipulating triples and doing a bunch of nasty stuff to account for the > fact that llvm::Triple doesn't currently have a way to detect x86_64h. > > > > Is this something that llvm::Triple could be modified to support? > Either as a new ArchType, or a new SubArchType? > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140819/dfc882bd/attachment.html>
Possibly Parallel Threads
- [LLVMdev] llvm::Triple support for haswell-enabled x86_64
- [LLVMdev] [PATCH][REQUEST] Could someone submit this CSR Kalimba definitions patch please?
- [LLVMdev] llvm::Triple support for haswell-enabled x86_64
- [LLVMdev] [PATCH][REQUEST] Could someone submit this CSR Kalimba definitions patch please?
- [LLVMdev] [PATCH][REQUEST] Could someone submit this CSR Kalimba definitions patch please?