Displaying 20 results from an estimated 5000 matches similar to: "status of msp430?"
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
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
2018 Sep 12
2
How to make LLVM go faster?
Here is some timing information from running the Zig standard library tests:
$ ./zig test ../std/index.zig --enable-timing-info
Name Start End Duration Percent
Initialize 0.0000 0.0010 0.0010 0.0001
Semantic Analysis 0.0010 0.9968 0.9958 0.1192
Code Generation 0.9968 1.4000 0.4032
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
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
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
2010 Sep 21
1
[LLVMdev] Possible missed optimization on function calling?
Hello, I noticed that the following code could be improved a little bit
further. If the optimization is too tricky for the compiler or something and
it's done this way by design forgive me, but in any case i just wanted to
point it out.
Consider the following C code:
extern int mcos(int a);
extern int msin(int a);
extern int mdiv(int a, int b);
int foo(int a, int b)
{
int a4 =
2009 Dec 18
3
[LLVMdev] problem when use inline asm for msp430 target
Hi everyone,
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 'r' !"
What's the reason?
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
2016 May 23
3
Code owner for MSP430 target?
Who is a code owner for MSP430 target? I know that a lot of work on this target is done by Anton Korobeynikov (aka asl) but he is not listed as a code owner in CODE_OWNERS.TXT. I would like to get my D20162 reviewed, but I don't know who I can add as a reviewer.
2009 Dec 18
2
[LLVMdev] Questions of instruction target description of MSP430
Hi everyone,
I am puzzled by several instruction defines in MSP430.
1
def MOV16rr : Pseudo<(outs GR16:$dst), (ins GR16:$src),
"mov.w\t{$src, $dst}",
[ ]>;
Because it's an empty dag pattern[ ], by what does instuction selector
select intruction 'MOV16rr'?
2
let canFoldAsLoad = 1, isReMaterializable = 1, mayHaveSideEffects =
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
2016 May 23
0
Code owner for MSP430 target?
Please CC me. I will review.
On Mon, May 23, 2016 at 2:46 PM, Vadzim Dambrouski via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Who is a code owner for MSP430 target? I know that a lot of work on this target is done by Anton Korobeynikov (aka asl) but he is not listed as a code owner in CODE_OWNERS.TXT. I would like to get my D20162 reviewed, but I don't know who I can add as a
2016 May 23
1
Code owner for MSP430 target?
Thank you. I don't know what CC means, but I will ping the diff so you can get an email.
> On May 23, 2016, at 15:06, Anton Korobeynikov <anton at korobeynikov.info> wrote:
>
> Please CC me. I will review.
>
> On Mon, May 23, 2016 at 2:46 PM, Vadzim Dambrouski via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> Who is a code owner for MSP430 target? I
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
2017 Sep 30
2
invalid code generated on Windows x86_64 using skylake-specific features
I have this code, which works fine on MacOS and Linux hosts:
const char *target_specific_cpu_args;
const char *target_specific_features;
if (g->is_native_target) {
target_specific_cpu_args = ZigLLVMGetHostCPUName();
target_specific_features = ZigLLVMGetNativeFeatures();
} else {
target_specific_cpu_args = "";
target_specific_features =
2009 Apr 02
0
[LLVMdev] MSP430 backend
Hi,
Is there any implementation for MSP430 backend to LLVM ? Maybe at very
early phase. (I did not found anything in google). I need this because
mspgcc's support of newest TI's MCU seems very unstable. If there any
project for MSP430, I'd better join it rather than develop the whole
thing from scratch.
---
Regards,
Dmitry
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