Displaying 7 results from an estimated 7 matches for "stm8".
Did you mean:
stm
2011 Feb 21
3
[LLVMdev] STM8 backend for Clang
Hi there,
Inspired by the recent FOSDEM keynote, I've tried to write an LLVM
backend for the STM8 microcontroller platform. The STM8S-Discovery
evaluation board [1] has been handed out for free or is sold dirt-
cheap, but there is no Open Source cross-compiler for it. The
available ST assembler, linker and USB flash programmer are closed-
source Windows binaries. And the compiler vendor I...
2011 Feb 21
0
[LLVMdev] STM8 backend for Clang
On Sun, Feb 20, 2011 at 4:23 PM, Andreas Färber <andreas.faerber at web.de> wrote:
> Hi there,
>
> Inspired by the recent FOSDEM keynote, I've tried to write an LLVM
> backend for the STM8 microcontroller platform. The STM8S-Discovery
> evaluation board [1] has been handed out for free or is sold dirt-
> cheap, but there is no Open Source cross-compiler for it. The
> available ST assembler, linker and USB flash programmer are closed-
> source Windows binaries. And the com...
2011 Feb 22
1
[LLVMdev] STM8 backend for Clang
...ar pointers?
>
> LLVM doesn't support distinguishing between near and far pointers.
> Depending on how much work you want to put in and what exactly you're
> trying to build, you might be able to get away with just pretending
> all pointers are near and implementing __builtin_stm8_far_loadn() and
> __builtin_stm8_far_storen() intrinsics, though.
The example C code uses far pointers, e.g., to set up interrupt vectors:
typedef void @far (*interrupt_handler_t)(void);
struct interrupt_vector
{
unsigned char interrupt_instruction;
interrupt_handler_t interrupt_handler...
2011 Mar 13
1
[LLVMdev] backend question
...it
> word-addressable DSP, but it is quite rough and it includes changes in
> which you probably aren't interested (support for non-power-of-2
> integer sizes and some other bug fixes).
I would be interested in non-power-of-two support. I started adding
the very basics for i24 in my STM8 repo but there are still a couple
places that do getIntegerWidth() * 2 calculations for expansion.
Do you have a public repo and/or plans to merge those features into
trunk?
Andreas
2011 Mar 08
0
[LLVMdev] backend question
On Tue, Mar 8, 2011 at 5:14 AM, Jacques Van Damme
<Jacques.VanDamme at synopsys.com> wrote:
> I am writing a backend for an architecture that has only 16-bit word
> addressing (No byte addresses ever. All data are always 16-bit).
>
> How can I specify this in the backend?
In short, you can't. Word-addressable memory is not currently
supported in LLVM (or Clang, for that
2011 Mar 08
3
[LLVMdev] backend question
Hi All,
I am writing a backend for an architecture that has only 16-bit word addressing (No byte addresses ever. All data are always 16-bit).
How can I specify this in the backend?
As an example, consider the following instruction:
%arrayidx = getelementptr [129 x i16]* @flags, i16 0, i16 %i.043
When I generate assembler code, this now results in %i.043 being multiplied by 2 in the address
2011 Feb 23
0
[LLVMdev] LLVMdev Digest, Vol 80, Issue 37-Help to unsubscribe
...You can reach the person managing the list at
llvmdev-owner at cs.uiuc.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of LLVMdev digest..."
Today's Topics:
1. Re: attaching metadata to llvm::Argument (Andrew Clinton)
2. Re: STM8 backend for Clang (Andreas F?rber)
3. Clone a function and change signature (Arushi Aggarwal)
4. Re: Clone a function and change signature (John Criswell)
5. Re: Structure Types and ABI sizes (David A. Greene)
6. Re: still failed to build the llbrowse on Debian5-32b-llvm2.8
(Talin...