Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] MSP430 backend"
2018 May 25
1
MSP430: interrupt vector number out of bounds error in v6/trunk (with patch)
When building with Clang for the MSP430 architecture against headers
distributed with TI MSP GCC, interrupt service routine
interrupt(vector_number) attribute is rejected:
__attribute__ ((interrupt(USCI_A0_VECTOR))) void ISR(void) { }
error: 'interrupt' attribute parameter 48 is out of bounds
This is due to the check in tools/clang/lib/Sema/SemaDeclAttr.cpp:5104
unsigned Num
2009 Oct 02
0
[LLVMdev] Mailing list for out-of-band MSP430 backend discussion
Hello,
Several people have expressed interest in using LLVM to target MSP430
microcontrollers. Anton wrote an MSP430 backend as an exercise, and
some of the nastiest parts are done (thanks Anton!), but the consensus
seems to be that there's still quite a bit of work left to do before
LLVM can replace the commercial and open-source compilers (IAR, CCE,
CrossWorks, mspgcc, and so on) that
2018 Jun 17
2
status of msp430?
Hello,
I have a user asking about msp430 support for Zig. When they try to target
msp430, this error is triggered:
if (target_machine->addPassesToEmitFile(MPM, dest, ft)) {
*error_message = strdup("TargetMachine can't emit a file of
this type");
return true;
}
I tried using clang alone: clang -c add.c -target msp430-unknown
int add(int
2009 Jun 20
2
Speex for TI MSP430 microcontroller - estimating CPU speed requirements?
Interested in building a speex codec (basically audio <-> speex <-> data
stream) using TI's small MSP430 microcontroller. Is there any way to
estimate feasibility based on CPU requirements? Example - speex is happily
encoding on an old Pentium-1 processor (166 MHz) using about half the CPU
(as reported under Linux); the TI microcontrollers are much slower yet
(8-16-25 MHz) and
2009 Jun 21
0
Speex for TI MSP430 microcontroller - estimating CPU speed requirements?
2009 Jun 22
0
Speex for TI MSP430 microcontroller - estimating CPU speed requirements?
2009 Jun 22
0
Speex for TI MSP430 microcontroller - estimating CPU speed requirements?
2017 Jul 06
2
MSP430 code generation from LLVM IR
On Thu, Jul 6, 2017 at 2:19 AM, Tim Northover <t.p.northover at gmail.com>
wrote:
> On 5 July 2017 at 17:51, Luís Marques via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > Cool. When I did that on macOS, LDC generated a lot of complaints,
> possibly
> > because it is assuming mach-o files. I tried changing from
> -mtriple=msp430
> > to
2005 Jan 06
0
Has anybody tried to program MSP430 microcontrollers from TI?
Hi all,
I'm rappedly moving away from windows, but one of the last programs i need to
run in windows is 'IAR Embedded Workbench (Kickstart Version)'
I've tried to run it some time ago (i think about 2 months back) in wine, but
it didn't work so well back then. I haven't tried it with newer versions
since then.
I need that program so i can program my msp430
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
2014 Sep 03
2
[LLVMdev] Enable debug for MSP430
Hi Gents,
For those of us with out-of-tree backends which are not 32bit, the msp430 backend is a useful vehicle for examining changes and testing out ideas.
So I was wondering about enabling debug output on the MSP430 backend so that I can illustrate a few issues to Adrian and you on the variable pieces side. (there doesn't appear to be any specific person claiming the msp430 code right
2017 Jul 06
2
MSP430 code generation from LLVM IR
On Thu, Jul 6, 2017 at 1:35 AM, Nicholas Wilson <
iamthewilsonator at hotmail.com> wrote:
> Luís, try using the -no-integrated-as flag to execute the assembler for
> you.
> We should probably make that the default for MSP430.
>
Cool. When I did that on macOS, LDC generated a lot of complaints, possibly
because it is assuming mach-o files. I tried changing from -mtriple=msp430
2017 Jul 05
3
MSP430 code generation from LLVM IR
Hello,
While trying to find out why the LDC compiler refuses to generate object
code for MSP430 targets (but generates MSP430 assembly or LLVM IR/bitcode),
I came across the following apparent inconsistency.
This works:
$ clang --target=msp430 -c test.c
This doesn't work:
$ clang --target=msp430 -S -emit-llvm test.c
$ llc -filetype=obj test.ll
/opt/msp430/bin/llc: target does not support
2010 Jun 21
0
[LLVMdev] r98938 broke argument passing on MSP430?
On Fri, Jun 11, 2010 at 2:55 PM, Ben Ransford <ransford at cs.umass.edu> wrote:
> Yesterday I noticed that MSP430 argument passing is broken in trunk;
> see http://llvm.org/PR6573 for details and testcases. The problem is
> that calls aren't being preceded by instructions that put the
> arguments into registers. I backtracked my working copy and then
> stepped forward
2009 Dec 18
0
[LLVMdev] problem when use inline asm for msp430 target
Hello
> inline asm code is like below:
>
> void test(unsigned short a) {
> asm("myinstr my16bitreg, %0"::"r"(a));
> }
> I want it generate instruction "myinstr my16bitreg, r15"
>
> I execute
> llc test.bc -march = msp430 -o test.s
> then it reports
> "LLVM ERROR: Couldn't allocate input reg for constraint
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 Dec 18
1
[LLVMdev] problem when use inline asm for msp430 target
Hi Anton,
Need i write additial c/c++/td code for my target to support inline asm?
Regrads
2009/12/18 Anton Korobeynikov <anton at korobeynikov.info>
> Hello
>
> > inline asm code is like below:
> >
> > void test(unsigned short a) {
> > asm("myinstr my16bitreg, %0"::"r"(a));
> > }
> > I want it generate instruction
2010 Jun 11
2
[LLVMdev] r98938 broke argument passing on MSP430?
Hello,
Yesterday I noticed that MSP430 argument passing is broken in trunk;
see http://llvm.org/PR6573 for details and testcases. The problem is
that calls aren't being preceded by instructions that put the
arguments into registers. I backtracked my working copy and then
stepped forward until it broke between r98937 and r98938. Refining
further, I found that rolling back the
2009 May 04
2
[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>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">wow!!! i would be interested in
trying
2009 Dec 19
0
[LLVMdev] Questions of instruction target description of MSP430
Hi,
1. This instruction is not selected automatically by the instruction selector. The instruction combine / select stages insert registercopies, and they are expanded later on by the copyRegToReg() function provided by the MSP430InstrInfo to this MOV16rr.
2. ReMaterializable means there is no need to find a way to preserve the value in a register : the instruction can be just be reissued