This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/4 v2] [SH/SH4]: Set fpcsr register which read again
- From: Nobuhiro Iwamatsu <iwamatsu at nigauri dot org>
- To: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Cc: thomas at codesourcery dot com, libc-alpha at sourceware dot org
- Date: Thu, 24 May 2012 08:43:04 +0900
- Subject: Re: [PATCH 3/4 v2] [SH/SH4]: Set fpcsr register which read again
- References: <1333589869-2155-1-git-send-email-iwamatsu@nigauri.org><1333589869-2155-3-git-send-email-iwamatsu@nigauri.org> <87sjescfi2.fsf@schwinge.name><20120523.134527.399720558.kkojima@rr.iij4u.or.jp>
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