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

Kaz Kojima kkojima@rr.iij4u.or.jp
Wed May 23 07:20:00 GMT 2012


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



More information about the Libc-alpha mailing list