On Fri, Apr 08, 2011 at 12:14:11AM +0200, ri...@happyleptic.org wrote:
> This crash in my yeeloong as well.
> as already noted in various previous threads, it would be easier if sigfpe
> were raised instead.
Thank you rixed!
> But the real question is: how guile (or any other program) is supposed
-[ Fri, Apr 08, 2011 at 09:37:52AM +0200, Lluís Batlle i Rossell ]
> Rixed, if I understand well, you used a *signaling NaN* value in the
> operation,
> that should result in an invalid operation.
I'm not familiar enough to ieee fp encodings to know if this value is
a signaling nan or not, an
On Fri, Apr 08, 2011 at 08:07:51AM +0200, ri...@happyleptic.org wrote:
> -[ Fri, Apr 08, 2011 at 09:15:16AM +0800, zhangfx ]
> > > ldc1 $f1, a
> > > ldc1 $f2, b
> > > madd.d $f0, $f1, $f2
> > >
> > Could it be the problem of using odd number floatpoint registers f
On Fri, Apr 08, 2011 at 08:07:51AM +0200, ri...@happyleptic.org wrote:
> -[ Fri, Apr 08, 2011 at 09:15:16AM +0800, zhangfx ]
> > > ldc1 $f1, a
> > > ldc1 $f2, b
> > > madd.d $f0, $f1, $f2
> > >
> > Could it be the problem of using odd number floatpoint registers f
On Fri, Apr 08, 2011 at 12:14:11AM +0200, ri...@happyleptic.org wrote:
> Try this:
>
> ---[ test.S ]---
> // gcc -march=loongson2f test.S -o test
> .text
> .global main
> main:
> ldc1 $f1, a
> ldc1 $f2, b
> madd.d $f0, $f1, $f2
> jalr $t9
> nop
>
> .data
>
> Sorry, I don't know mips assembler at all, or gas.
> I run this into gdb, I 'stepi', and I don't see the proper values loaded
> into the floating point registers.
>
> Is it me doing something wrong? It looks like those ldc1 go compiled into
> totally different instructions, not referring to 'a'