[PATCH 3/4 v2] [SH/SH4]: Set fpcsr register which read again

Nobuhiro Iwamatsu iwamatsu@nigauri.org
Wed May 23 23:50:00 GMT 2012


Hi, all.

When fetestexcept was called, the problem from which the information
on fpscr is deleted occurred.
To be sure, it is not writing to the manual.
I checked this problem using the Linux kernel.
I think that it may be a problem by the side of a Linux kernel...

Best regards,
  Nobuhiro


2012/5/23 Kaz Kojima <kkojima@rr.iij4u.or.jp>:
> Thomas Schwinge <thomas@codesourcery.com> wrote:
>>> +  /* When read fpscr, this was initialized.
>>> +     We need to rewrite value of temp. */
>>> +  _FPU_SETCW (temp);
>>>
>>>    return temp & excepts & FE_ALL_EXCEPT;
>>>  }
>>
>> Why is this needed?  It seems that I can't find it neither in the SH-4A
>> Software Manual nor in the SH7785 Hardware Manual.
>
> I thought that there was an errata for the issue, though I can't
> find the corresponding documentation ATM.  Iwamatsu-san?
>
> Regards,
>        kaz



-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6



More information about the Libc-alpha mailing list