This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: e500 port: fpu_control.h
- From: "Ryan S. Arnold" <ryan dot arnold at gmail dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Wed, 18 Sep 2013 08:34:56 -0500
- Subject: Re: e500 port: fpu_control.h
- Authentication-results: sourceware.org; auth=none
- References: <Pine dot LNX dot 4 dot 64 dot 1309180035040 dot 22768 at digraph dot polyomino dot org dot uk>
On Tue, Sep 17, 2013 at 7:36 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> This patch (based on the old e500 port, and descending from the old
> spe add-on) adds e500 support to the powerpc fpu_control.h. Tested
> with a build for e500.
>
> 2013-09-18 Joseph Myers <joseph@codesourcery.com>
> Aldy Hernandez <aldyh@redhat.com>
>
> * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
> Change condition to [_SOFT_FLOAT].
> [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
> [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
> [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
> [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
> [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
> [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
> [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
> [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
> [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
> [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
> [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
> [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
> [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
> [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
> [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
> [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
> declaration.
I'm fine with this patch.
Ryan S. Arnold