-[ 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 for double? > MIPS has two modes, normally we use 32bit registers mode, for double, we use > a pair. e.g. > lwc1 f0, xx1_low > lwc1 f1, xx1_high > lwc1 f2, xx2_low > lwc1 f3, xx2_high > fadd.d f4, f0, f2
Exactly! Changing f1 by f4 clears the sigill. -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.
