Re: [Sdcc-user] An experimental LLVM+SDCC-based toolchain for 8-bit microcontrollers
>always optimal. Still, we might benefit from some of the optimizations. >Have you tried calling opt with vectorizations disabled? I tried quickly this morning with vectorization disabled on opt and that solved the problem. But I ran into another - sdcc ran out of memory. It gets up to 2GB memory use and then is killed. I'm running on a windows machine so maybe I'll have to look at some of the compile switches to get over that limit but it appears there are some memory leak issues that don't cause trouble except in the large functions that llvm is generating. I'll make a source code file available later today after it's patched up with prototypes if you want to have a look. -- ___ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user
Re: [Sdcc-user] An experimental LLVM+SDCC-based toolchain for 8-bit microcontrollers
On 22.11.2016 14:45, alvin albrecht wrote: > >>always optimal. Still, we might benefit from some of the optimizations. >>Have you tried calling opt with vectorizations disabled? > > I tried quickly this morning with vectorization disabled on opt and that > solved the problem. But I ran into another - sdcc ran out of memory. > It gets up to 2GB memory use and then is killed. I’m running on a > windows machine so maybe I’ll have to look at some of the compile > switches to get over that limit but it appears there are some memory > leak issues that don’t cause trouble except in the large functions that > llvm is generating. I’ll make a source code file available later today > after it’s patched up with prototypes if you want to have a look. I already ran into that issue: Bug #2555. Philipp -- ___ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user
Re: [Sdcc-user] An experimental LLVM+SDCC-based toolchain for 8-bit microcontrollers
hello all, even at the risk of embarrassing myself: can someone please explain me the benefit of LLVM+SDCC toolchain vs. the "normal“ SDCC-only build? What is the motivation behind? Sorry for my ignorance and thanks for a (simple) explanation…! Regards, Georg Icking-Konert -- ___ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user
Re: [Sdcc-user] An experimental LLVM+SDCC-based toolchain for 8-bit microcontrollers
On 22.11.2016 21:55, Georg Icking-Konert wrote: > hello all, > > even at the risk of embarrassing myself: can someone please explain > me the benefit of LLVM+SDCC toolchain vs. the "normal“ SDCC-only > build? What is the motivation behind? Sorry for my ignorance and > thanks for a (simple) explanation…! > > Regards, Georg Icking-Konert 1) Experimenting with optimizations that are in LLVM, but not in SDCC 2) Support for languages other than C Philipp -- ___ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user