Re: [Sablevm-developer] problem with divisions, float, double
Brought to you by:
egagnon
From: Grzegorz B. P. <ga...@de...> - 2004-05-13 19:59:26
|
Hi again, Small update. With help from our Debian Project Leader, Martin Michlmayr I got the output of running BTF on an ARM machine (attached). It looks like all DADD, DDIV, DMUL, DREM, operations involving NaN or Infinity return wrong results. At the end we also see that an integer operation causes CPU to generate signal which should not be there... I did some tests running "equivalent" C code on ARM machnes from handhelds.org's iPAQ cluster, but everything seems to work just fine, so I have no clue yet as to what exactly is the problem. You might want to look at instructions.m4.c and instrucions*.c files generated for it for the engine you're using (switch/direct/inlined). After all it's just a plain C code so it shouldn't be anything magical to just get it to work. Ex. you can easily take gdb/ddd and put a breakpoint on DADD and see what exactly it exectues. You want to configure --enable-debugging-features to change optimiation level from -O2 to -O0, which will make debugging much easier. Let me know if you have questions, HTH Grzegorz B. Prokopski -- Grzegorz B. Prokopski <ga...@de...> Debian GNU/Linux http://www.debian.org SableVM - LGPLed JVM http://www.sablevm.org Why SableVM ?!? http://devel.sablevm.org/wiki/WhySableVM |