BZ #106: ARM's VFP integer-to-float conversion is wrong

Status fields:

creation_ts:2008-09-13 17:04
component:jit
version:default branch
rep_platform:arm
op_sys:All
bug_status:RESOLVED
resolution:FIXED
reporter:twisti@complang.tuwien.ac.at
This simple code:

        int i = 5;
        float f = (float) i;
        System.out.println(f);

returns:

0.0

Comment #1 by twisti@complang.tuwien.ac.at on 2008-09-13 20:56:16

I already found the bug and have a fix for it.  But I'm now facing another problem.
Will write about it later.

Comment #2 by twisti@complang.tuwien.ac.at on 2008-09-15 13:33:52

There were two small bugs.  These changesets fix them:

http://mips.complang.tuwien.ac.at/hg/cacao/rev/d88bf99453b6
http://mips.complang.tuwien.ac.at/hg/cacao/rev/a67fe1cb2b81