This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] S/390: DFP support 1/4: Add z9-ec option
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Andreas Krebbel <krebbel1 at de dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Ulrich dot Weigand at de dot ibm dot com
- Date: Tue, 20 Mar 2007 16:27:08 -0800
- Subject: Re: [PATCH] S/390: DFP support 1/4: Add z9-ec option
- References: <20070316185929.GA6326@(none)>
On Fri, Mar 16, 2007 at 07:59:29PM +0100, Andreas Krebbel wrote:
>
> The attached patch is the first of a patchset adding dfp hardware support to the
> s390 gcc back end. The new instructions are documented here:
> http://publibfi.boulder.ibm.com/epubs/pdf/a2322320.pdf
>
> * config/s390/s390.opt ("mhard-float", "msoft-float"): Bit value
> inverted and documentation adjusted.
> ("mhard-dfp", "msoft-dfp"): New options.
For PowerPC* we're using -mdfp and -mno-dfp to enable hardware DFP
instructions (not yet implemented). Hard and soft float are orthogonal
to hard and soft DFP on PowerPC; software emulation of DFP can use
either one, which affects how arguments are passed.
(I'm still catching up on gcc-patches after a bad cold.)
Janis