Hi Christian,

Yes, there is floating point precision related stuff, in the code on the
very first line.

 unsigned int cm = 0x27f;
 _FPU_SETCW(cm);

This is done for all linux systems for achieving 64 bit floating point
precision. So, do I need to ifdef it out for s390 or is there an alternative
for it on s390x system?

BTW, how did you match the spfc to user process fault, can you let me know
about it, please?

Thanks very much.

Regards,
Raja

On Fri, Nov 20, 2009 at 1:28 PM, Christian Borntraeger <
borntrae...@de.ibm.com> wrote:

> > 0x007cc758 <_ZN7TDTmain10InitialiseEv+48>:      lr      %r11,%r15
> > 0x007cc75a <_ZN7TDTmain10InitialiseEv+50>:      st      %r2,96(%r11)
> > 0x007cc75e <_ZN7TDTmain10InitialiseEv+54>:      lhi     %r1,639
> > 0x007cc762 <_ZN7TDTmain10InitialiseEv+58>:      st      %r1,100(%r11)
> > 0x007cc766 <_ZN7TDTmain10InitialiseEv+62>:      l       %r1,100(%r11)
> > 0x007cc76a <_ZN7TDTmain10InitialiseEv+66>:      sfpc    %r1,%r0
> [...]
> > User process fault: interruption code 0x40006
> > CPU:    0    Not tainted
> > Process crcat (pid: 12533, task: 0000000000780878, ksp: 000000001140f4f0)
> > User PSW : 0705e00080000000 00000000007cc76e (0x7cc76e)
> > User GPRS: 0000000000000000 000002000000027f 000000000176c4c8
> > 0000000000000000
> >            00000000807ccfda 0000000000000000 0000000000000000
> > 000000007ffff4a8
> >            0000000000422d40 00000000800ae330 0000000040015be4
> > 000000007fffa540
> >            0000020000002000 00000200807cc730 00000000807ccfe4
> > 000000007fffa540
> > User Code: 58 10 b0 60 a7 28 00 00 50 20 15 d0 58 10 b0 60 a7 38 00 00
>
> Ok, so we have a specification exception for the sfpc instruction. Are
> there
> some floating point instruction in this function?
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to