Displaying 3 results from an estimated 3 matches for "__get_sr_register".
2009 May 04
0
[LLVMdev] leveraging back-end C compiler features in the gcc-based front-end
On Sun, May 3, 2009 at 6:19 PM, Bob Frankel <bios.bob.frankel at gmail.com> wrote:
> i'm looking into using llvm with TI's MSP430
Ah, you're in luck then: an MSP430 backend was checked in to SVN today
:) I don't think it's mature enough for general use yet, though.
> is there a way to leverage these (non-gcc) intrinsics in the llvm gcc-based
> frontend --
2009 May 04
2
[LLVMdev] leveraging back-end C compiler features in the gcc-based front-end
...ot;-1"><font face="Verdana">wow!!! i would be interested in
trying this.... any helpful instructions (for a novice like me) to get
started using the msp430 backend would be helpful....<br>
<br>
as for your suggestion, it does work -- i can (say) place a call to
__get_SR_register() in my front-end source, and it simply shows up in
the back-end .c file; other "extensions" to compilers (such as
'interrupt' keyword to generate different prologue/epilogue code) would
be a little trickier (though there are presumably already gcc
mechansims for flagging interrup...
2009 May 04
3
[LLVMdev] leveraging back-end C compiler features in the gcc-based front-end
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">i'm looking into using llvm with
TI's MSP430, for which a C compiler from TI already exists; the idea
here is to use llc -march=c and