This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Only set rounding mode in SET_RESTORE_ROUND_53BIT
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org, Richard Henderson <rth at twiddle dot net>, carlos at redhat dot com
- Date: Thu, 30 May 2013 11:01:15 +0200
- Subject: Re: [PATCH] Only set rounding mode in SET_RESTORE_ROUND_53BIT
- References: <20130529140319 dot GL2145 at spoyarek dot pnq dot redhat dot com> <20130530085917 dot GO2145 at spoyarek dot pnq dot redhat dot com>
On Thu, May 30, 2013 at 02:29:17PM +0530, Siddhesh Poyarekar wrote:
>
> So to put all this in code, the below patch is what I intend to do.
> Instead of modifying exception flags, SET_RESTORE_ROUND_53BIT only
> sets rounding mode and floating point mode (in x87) and restores it on
> exit from the lexical block. I tested x86_64 as well as i386 with
> --disable-sse to verify that this does not cause any regressions in
> the testsuite. Would this change be correct?
>
Does testsuite exercise rounding modes other than default?