Re: [Mono-dev] Register allocation and overlapping registers

2014-03-25 Thread Zoltan Varga
Hi, The mono JIT only uses double precision registers in most cases and only uses single precision ones for temporary purposes, like to implement casts. There were some problems with choosing these temporary registers, but they should be fixed in 3.4.0/master. Zoltan On Tue, Mar

[Mono-dev] Register allocation and overlapping registers

2014-03-25 Thread SilentBob
Hi, I'm hoping someone can provide some insight into how the cross-compiler handles allocating registers when the registers overlap. I'm looking at a case on ARM where the following code: double d = 7.21790001; float f = (f)d; Results in: vcvt.f32.f64 s4, d2 Because t