search for: villane

Displaying 10 results from an estimated 10 matches for "villane".

Did you mean: village
2013 Mar 20
1
[LLVMdev] Debug Info Documentation State
...in C/C++ for years -- mostly been a JVM guy. But at one point I may want to look into bindings or even creating a bootstrapped compiler. On Wed, Mar 20, 2013 at 11:33 PM, Eric Christopher <echristo at gmail.com>wrote: > > > > On Wed, Mar 20, 2013 at 2:21 PM, Erkki Lindpere <villane at gmail.com> wrote: > >> Hi, >> >> I wanted to add debug info to my language (compiler written in Scala, >> outputs .ll files), but I found it really hard to do based on the >> documentation provided at http://llvm.org/docs/SourceLevelDebugging.html(I looked at...
2013 Apr 23
0
[LLVMdev] Optimize away sqrt in simple cases?
That's a pretty seriously unsafe floating point optimization. It could be done in fast-math mode, but I doubt we currently do it. --Owen On Apr 23, 2013, at 1:12 PM, Erkki Lindpere <villane at gmail.com> wrote: > hi! > > I'm using LLVM 3.2. Does it optimize away llvm.pow(llvm.sqrt(x), 2) to `x` with any settings? I tried with llc -O3, but that didn't do it. > > Would be nice to write |v|² in my language ('v' being a 2D vector say and |...| and ...²...
2011 Jul 29
1
[LLVMdev] Is using lots of in-register values in IR bad?
Thanks for the reply On Fri, Jul 29, 2011 at 2:06 AM, David A. Greene <greened at obbligato.org>wrote: > Erkki Lindpere <villane at gmail.com> writes: > Ok. Do you ever need to grab the address of something on the stack? If > so you're going to need an alloca. AFAIK, it's the only way to generate > an address for a local object. This is by design of the IR and it > greatly simplifies analysis. >...
2013 Apr 23
3
[LLVMdev] Optimize away sqrt in simple cases?
hi! I'm using LLVM 3.2. Does it optimize away llvm.pow(llvm.sqrt(x), 2) to `x` with any settings? I tried with llc -O3, but that didn't do it. Would be nice to write |v|² in my language ('v' being a 2D vector say and |...| and ...² being two separate infix "operators") -- when I could compare squares of lengths as well as lengths, and know that the sqrt is optimized
2013 Mar 20
0
[LLVMdev] Debug Info Documentation State
On Wed, Mar 20, 2013 at 2:21 PM, Erkki Lindpere <villane at gmail.com> wrote: > Hi, > > I wanted to add debug info to my language (compiler written in Scala, > outputs .ll files), but I found it really hard to do based on the > documentation provided at http://llvm.org/docs/SourceLevelDebugging.html(I looked at the specific doc for LLV...
2011 Jul 28
0
[LLVMdev] Is using lots of in-register values in IR bad?
Erkki Lindpere <villane at gmail.com> writes: > I want to experiment with avoiding mutable state as far as I can. At > the moment there are no mutable variables -- only immutable value > types (numerics, bool, vectors, tuples) and I've been doing everything > in LLVM registers. The compiler doesn't...
2013 Mar 20
2
[LLVMdev] Debug Info Documentation State
Hi, I wanted to add debug info to my language (compiler written in Scala, outputs .ll files), but I found it really hard to do based on the documentation provided at http://llvm.org/docs/SourceLevelDebugging.html (I looked at the specific doc for LLVM 3.0 though) With LLVM 3.0, DI version 8 (which is documented there) seemed to work, except DW_TAG_auto_variable for which I used version tag 11
2011 Jul 28
4
[LLVMdev] Is using lots of in-register values in IR bad?
Hi, I'm a newbie when it comes to compilers (and even close-to-machine coding), but recently started working on my own language and am using LLVM as the mid/backend. Currently I'm generating .ll files from a front-end written in Scala. The language is not really serious, just a way to learn more about compilers (and LLVM) and maybe serve as a base for further experiments. It's
2013 Apr 23
2
[LLVMdev] Optimize away sqrt in simple cases?
...y definition has undefined behavior and so returning x from llvm.pow(llvm.sqrt(x),2) is acceptable. The same should be true for -inf. Only the result for -0.0 changes from 0.0 to -0.0. Is there something I overlooked? > --Owen Christoph > On Apr 23, 2013, at 1:12 PM, Erkki Lindpere <villane at gmail.com> wrote: > > hi! > > > > I'm using LLVM 3.2. Does it optimize away llvm.pow(llvm.sqrt(x), 2) to `x` > > with any settings? I tried with llc -O3, but that didn't do it. > > > > Would be nice to write |v|² in my language ('v' being...
2008 Oct 16
6
Sound skips in all games since Wine 1.1.6
In 1.1.5 the sound/music in games played allright. Since 1.1.6 it skips badly - plays for a couple of seconds, then stops for half a second, then plays again, then skips and so on. Happens on every game on Steam - Team Fortress 2, Everyday Shooter, Peggle Extreme - and also without Steam - Icy Tower. I have Razer Barracuda AC-1 sound card. I've found that in Winecfg when I choose Alsa driver