Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] PIC16 backend for llvm 2.5"
2009 Jan 08
0
[LLVMdev] PIC16 backend for llvm 2.5
Hi Sanjiv,
> We are targetting a reasonably functional PIC16 backend for llvm 2.5.
> The only problem in our way is a local patch in ExpandIntegerOperand, which couldn't make its way to trunk so far. The discussion is contained in the following link:
>
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20081103/069593.html
>
> I now have time to take it up
2009 Jan 09
3
[LLVMdev] PIC16 backend for llvm 2.5
Well, the first email is here.
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20081013/068667.html
-----Original Message-----
From: Duncan Sands [mailto:baldrick at free.fr]
Sent: Thu 1/8/2009 8:41 PM
To: Sanjiv Kumar Gupta - I00171
Cc: llvmdev at cs.uiuc.edu
Subject: Re: PIC16 backend for llvm 2.5
Hi Sanjiv,
> We are targetting a reasonably functional PIC16 backend for llvm
2009 Jan 09
0
[LLVMdev] PIC16 backend for llvm 2.5
Hi Sanjiv,
> Well, the first email is here.
>
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20081013/068667.html
thanks, I remember now (more or less). So would something like ReplaceNodeResults
solve the problem?
Ciao,
Duncan.
2009 Jan 16
2
[LLVMdev] PIC16 backend for llvm 2.5
> -----Original Message-----
> From: Duncan Sands [mailto:baldrick at free.fr]
> Sent: Friday, January 09, 2009 5:23 PM
> To: Sanjiv Kumar Gupta - I00171
> Cc: llvmdev at cs.uiuc.edu
> Subject: Re: PIC16 backend for llvm 2.5
>
> Hi Sanjiv,
>
> > Well, the first email is here.
> >
> > http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-
>
2009 Jan 16
0
[LLVMdev] PIC16 backend for llvm 2.5
Hi Sanjiv,
> Well the magnitude of the task is not small.
> ExpandIntegerOperand() calls LowerOperation() to allow targets to handle
> illegal operands. So we will need to change the interface of
> LowerOperation() to pass an extra argument called Results, which is an
> array of SDValue. Targets will push the result values in this array and
> then we can replace values in
2009 Jan 18
2
[LLVMdev] PIC16 backend for llvm 2.5
On Fri, 2009-01-16 at 10:03 +0100, Duncan Sands wrote:
> Hi Sanjiv,
>
> > Well the magnitude of the task is not small.
> > ExpandIntegerOperand() calls LowerOperation() to allow targets to handle
> > illegal operands. So we will need to change the interface of
> > LowerOperation() to pass an extra argument called Results, which is an
> > array of SDValue.
2009 Jan 19
1
[LLVMdev] PIC16 backend for llvm 2.5
On Sun, 2009-01-18 at 20:28 +0100, Duncan Sands wrote:
> Hi Sanjiv,
>
> > + /// CustomLowerOperation - This callback is invoked for operations that are
> > + /// unsupported by the target, which are registered to use 'custom' lowering,
> > + /// and whose defined values are all legal.
>
> and whose defined values are all legal -> and whose return
2009 Jan 18
0
[LLVMdev] PIC16 backend for llvm 2.5
Hi Sanjiv,
> + /// CustomLowerOperation - This callback is invoked for operations that are
> + /// unsupported by the target, which are registered to use 'custom' lowering,
> + /// and whose defined values are all legal.
and whose defined values are all legal -> and whose return values all have legal types
> + /// If the target has no operations that require custom
2009 Jun 15
3
[LLVMdev] llvmc for PIC16
Mikhail Glushenkov wrote:
>
> Hi Sanjiv,
>
> Sanjiv Gupta <sanjiv.gupta <at> microchip.com> writes:
>
> > The salient features that we want to have in the driver are:
> > [...]
>
> As promised, I've implemented a basic compiler driver for the
> PIC16 toolchain. It's under tools/llvmc/examples/mcc16.
>
Hi Mikhail,
How do you build mcc16
2009 Jun 15
0
[LLVMdev] llvmc for PIC16
Hi Sanjiv,
2009/6/15 Sanjiv Gupta <sanjiv.gupta at microchip.com>:
> Hi Mikhail,
> How do you build mcc16 executable?
This should work:
$ cd $LLVM_DIR/tools/llvmc/examples/mcc16
$ make
If you're building from some other dir, you'll need to update
mcc16/Makefile, so it knows where Makefile.common is located.
> There are so many confusing things there: driver, plugins,
2009 Jun 30
2
[LLVMdev] llvmc for PIC16
Mikhail Glushenkov wrote:
> Hi Sanjiv,
>
> 2009/6/29 Sanjiv Gupta <sanjiv.gupta at microchip.com>:
>
>> I want to retrieve the value of argv[0] (which was passed to main function
>> of the driver) in PrependCustomizedPath.
>>
>
> I've added a way to access argv[0] in hooks:
> http://thread.gmane.org/gmane.comp.compilers.llvm.cvs/50789
>
2009 Jul 01
2
[LLVMdev] llvmc for PIC16
The driver behaves differently when I run it by specifying absolute path
than when I run it with relative path.
See example
Relative:
i00202 at ubuntu:/tmp$ mcc16 --save-temps -dry-run hello.c./clang-cc -I
./include -triple=pic16- -emit-llvm-bc hello.c -o hello.bc-pqDR1Y
llvm-ld -link-as-library hello.bc-pqDR1Y -o tmp.bc-M1Rwip
llc -march=pic16 -f tmp.bc-M1Rwip -o tmp.s-DcVczP
gpasm -I ./inc
2009 Aug 12
4
[LLVMdev] XCore & PIC16 AsmPrinters
Hi XCore and PIC16 maintainers,
I'd appreciate it if you guys could move your AsmPrinter
implementation to be in a subdirectory like the rest of the other
targets (e.g. make it live in lib/Target/PIC16/AsmPrinter). Anton is
planning to move MSP430 to use the same approach. Having all the
targets use the same design simplifies the build system and keeps the
target architecture more
2008 Sep 30
2
[LLVMdev] Type Legalizer Question.
All the sub methods called inside ExpandIntegerOperand like
ExpandInOp_STORE etc have access to the expanded operands map.
Why they aren't passed to target LowerOperation? A target may also want
to use the already expanded Lo and Hi parts.
- Sanjiv
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Aug 13
2
[LLVMdev] XCore & PIC16 AsmPrinters
On Aug 12, 2009, at 9:48 PM, Sanjiv.Gupta at microchip.com wrote:
> Chris,
> I will try to get it done before 2.6. (8/21).
>
Thanks Sanjiv! One other nice cleanup (but which is not time critical
at all) would be to merge the contents of "PIC16Section" into the new
"MCSectionPIC16" class. Unlike the previous design, you're now
allowed to store arbitrary
2009 Sep 13
2
[LLVMdev] PIC16 question
In my ongoing work on refactoring the asmprinters, I've found that
PIC16 doesn't put ':' after labels in some cases. Specifically, it
looks like basic block labels are emitted without a ':':
movwf @__floatunsidf.frame. + 2
movlp .BB1_2
goto .BB1_2
.BB1_2 ; %bb7
movlw 0
banksel @__floatunsidf.frame.
but that
2009 Jun 03
2
[LLVMdev] llvmc for PIC16
PIC16 now has clang and llc based system to generate native assembly. We
then use our native assembler (gpasm) and the native linker (mplink) to
generate the final executable. How can I integrate these things with
the driver llvmc to have gcc like user experience? Note that we also
want to run llvm-ld in order to perform the LTOs in case of multiple files.
- Sanjiv
2009 Jul 20
2
[LLVMdev] PIC16TargetAsmInfo::getBSSSectionForGlobal
Hi Sanjiv,
The PIC16TargetAsmInfo::getBSSSectionForGlobal apparently does magic
that reinterprets the "section" field of a global in a strange way:
// If GV has a sectin name or section address create that section
now.
if (GV->hasSection()) {
std::string SectName = GV->getSection();
// If address for a variable is specified, get the address and
create
2011 Apr 09
3
[LLVMdev] Has the Microchip PIC16 experimental backend been dropped from v2.9?
There is a ~/llvm-2.8/lib/Target/PIC16/ backend in llvm-2.8. It doesn't appear to be present in llvm-2.9.
Has that backend been dropped?
Graham
2009 Jun 23
3
[LLVMdev] llvmc for PIC16
> BTW, Chris's Makefile changes broke llvmc yesterday (r75379). I'm
> working on a fix.
Hi Mikhail,
Did you get a chance to fix this. I still get errors while building examples.
i00202 at ubuntu:~/projects/llvm/tools/llvmc/example/mcc16$ make
make[1]: Entering directory `/home/i00202/projects/llvm/tools/llvmc/example/mcc16/plugins'
make[2]: Entering directory