search for: pic24

Displaying 6 results from an estimated 6 matches for "pic24".

Did you mean: pic2
2011 May 10
0
[LLVMdev] llvm backend
Hi Roberto, The PIC24 family of devices share very little commonality with PIC16 beyond the naming convention. They're a register-based 16-bit architecture, unlike the PIC16. That said, that does mean that LLVM is a much more reasonable fit to target the PIC24 (and dsPIC) than it is for PIC16. Modeling your target...
2011 May 10
3
[LLVMdev] llvm backend
...lt to get a pattern. I have checked the available documentation files, also the video from Cardoso about how to write a backend for the MIPS but the problem is the same, all the documention said what the files have to contain but not the details about write them. I need to write a backend for the PIC24, our processor is based on it, so I started analyzing the files for the implementation of the PIC16, all was ok until I analyzed the files PIC16ILowering.cpp and PICInstrInfo.td, this files have defined many things like SDTypeProfile and SDNode and other things I don't have idea from where they...
2011 May 11
1
[LLVMdev] llvm backend
...cticing I have worked on create passes like deadcode analysis and it is possible to load them with opt, but I don't know how to generate code for my new backend. Thank you. Best Regards Roberto 2011/5/10 Jim Grosbach <grosbach at apple.com> > Hi Roberto, > > The PIC24 family of devices share very little commonality with PIC16 beyond > the naming convention. They're a register-based 16-bit architecture, unlike > the PIC16. That said, that does mean that LLVM is a much more reasonable fit > to target the PIC24 (and dsPIC) than it is for PIC16. > &g...
2011 May 09
0
[LLVMdev] llvm backend
Hello Roberto, > Do you have any information I can use for define my new backend? I really > appreciate your attention and any help you can give me. You might want to look into some of the existing backends. Probably MSP430 is the smallest one. Try to examine the history how this backend was added, it was preserved specifically for educational purposes. I must note that it was added 2 years
2011 May 09
2
[LLVMdev] llvm backend
Hi, I am writing you because I found in the LLVM site you have worked with backends. I am writing a new backend for a processor I am working on, because the compiler that comes with the processor design suite is really messy (it is CoSy). I want to have a power compiler like llvm. I read the "writing an LLVM compiler backend" and I have define almost all the files, but I have problems
2016 Jun 09
4
TableGen operand question
Hi, As a way to learn LLVM, I'm trying to write a backend for the Microchip PIC18 8-bit microcontroller. On this device, the hardware stack is very small and is used only for storing function return addresses. A "real" software stack implementation is not very efficient because of the limited instruction set, so for all the non-reentrant functions I've decided to use a similar