Re: [kaffe] HAVE_move_float_const

2003-07-01 Thread Dalibor Topic
Ciao Gerlando, --- Gerlando Falauto [EMAIL PROTECTED] wrote: Nope, it's perfectly clear but still I don't get your point. If you wanna be safe, shouldn't you just be CONSISTENT? Declare it as a float, and let the compiler decide what casts are appropriate. At this level, so long as I get

Re: [kaffe] HAVE_move_float_const

2003-07-01 Thread Gerlando Falauto
On Tue, 1 Jul 2003, Dalibor Topic wrote: Ciao Gerlando, --- Gerlando Falauto [EMAIL PROTECTED] wrote: Nope, it's perfectly clear but still I don't get your point. If you wanna be safe, shouldn't you just be CONSISTENT? Declare it as a float, and let the compiler decide what casts are

Re: [kaffe] HAVE_move_float_const

2003-07-01 Thread Timothy Stack
Hi everyone, hi, (especially the JIT back-end coders) does anyone have any idea why _slot_slot_fconst is declared void _slot_slot_fconst(SlotInfo*, SlotInfo*, double, ifunc, int) ^^ shouldn't there be a float instead? Can you update

Re: [kaffe] HAVE_move_float_const

2003-07-01 Thread Dalibor Topic
Ciao Gerlando, --- Gerlando Falauto [EMAIL PROTECTED] wrote: On Tue, 1 Jul 2003, Dalibor Topic wrote: --- Gerlando Falauto [EMAIL PROTECTED] wrote: The C99 standard doesn't guarantee you'll have 32 bit wide floats. It doesn't even guarantee the floats will be 'base 2'. But fortunately,

[kaffe] HAVE_move_float_const

2003-06-30 Thread Gerlando Falauto
Hi everyone, (especially the JIT back-end coders) does anyone have any idea why _slot_slot_fconst is declared void _slot_slot_fconst(SlotInfo*, SlotInfo*, double, ifunc, int) ^^ shouldn't there be a float instead? I took a quick look at the

Re: [kaffe] HAVE_move_float_const

2003-06-30 Thread Kiyo Inaba
Hi Gerlando, void _slot_slot_fconst(SlotInfo*, SlotInfo*, double, ifunc, int) shouldn't there be a float instead? I am hesitate to reply for this, but if old story is still true, any c function arguments are converted to double from float. See, pp.137 of C a reference manual. # There should be

Re: [kaffe] HAVE_move_float_const

2003-06-30 Thread Timothy Stack
On Monday, June 30, 2003, at 04:54 AM, Gerlando Falauto wrote: Hi everyone, hi, (especially the JIT back-end coders) does anyone have any idea why _slot_slot_fconst is declared void _slot_slot_fconst(SlotInfo*, SlotInfo*, double, ifunc, int) ^^

Re: [kaffe] HAVE_move_float_const

2003-06-30 Thread Gerlando Falauto
Don't have that manual at hand, but I think that very much depends on the compiler and/or the runtime architecture. I can assure you my (old, ugly, buggy, horrible, non-standard, fp-less, whatever) compiler and You could consider using a better compiler ;) You wanna write one? ;-) Be my