Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Thiago Jung Bauermann <bauerman@br.ibm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch 3/4] decimal floating point support for expressions
Date: Wed, 24 Oct 2007 20:12:00 -0000	[thread overview]
Message-ID: <20071024201208.GK10943@caradoc.them.org> (raw)
In-Reply-To: <1192471932.5787.46.camel@localhost.localdomain>

On Mon, Oct 15, 2007 at 04:12:12PM -0200, Thiago Jung Bauermann wrote:
> Subject: decimal floating point support for expressions
> 
> 2007-10-15  Wu Zhou  <woodzltc@cn.ibm.com> 
> 	    Thiago Jung Bauermann  <bauerman@br.ibm.com>
> 
> 	* c-exp.y (YYSTYPE): Add typed_val_decfloat for decimal
> 	floating point in YYSTYPE union.
> 	(DECFLOAT) Add token and expression element handling code.
> 	(parse_number): Parse DFP constants, which end with suffix 'df',
> 	'dd' or 'dl'.  Return DECFLOAT.
> 	* eval.c (evaluate_subexp_standard): Call value_from_decfloat to
> 	handle OP_DECFLOAT.
> 	* expression.h (enum exp_opcode): Add an opcode (OP_DECFLOAT)
> 	for DFP constants.
> 	(union exp_element): Add decfloatconst to represent DFP
> 	elements, which is 16 bytes by default.
> 	* parse.c (write_exp_elt_decfloatcst): New function to write a
> 	decimal float const into the expression.
> 	(operator_length_standard): Set operator length for OP_DECFLOAT
> 	to 4.
> 	* parser-defs.h (write_exp_elt_decfloatcst): Prototype.
> 	* valarith.c (value_neg): Add code to handle the negation
> 	operation of DFP values.
> 	* value.c (value_from_decfloat): New function to get the value
> 	from a decimal floating point.
> 	* value.h (value_from_decfloat): Prototype.

This one looks OK.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2007-10-24 20:12 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-20 21:57 [patch 0/4] decimal floating point support Thiago Jung Bauermann
2007-09-20 21:57 ` [patch 2/4] decimal floating point types Thiago Jung Bauermann
2007-10-11 16:00   ` Daniel Jacobowitz
2007-10-15 18:12     ` Thiago Jung Bauermann
2007-10-24 20:11       ` Daniel Jacobowitz
2007-10-25 18:24         ` Thiago Jung Bauermann
2007-09-20 21:57 ` [patch 1/4] libdecnumber support Thiago Jung Bauermann
2007-10-11 15:57   ` Daniel Jacobowitz
2007-10-11 16:07     ` Daniel Jacobowitz
2007-10-15 18:32       ` Thiago Jung Bauermann
2007-10-15 18:11     ` Thiago Jung Bauermann
2007-10-15 18:38       ` Daniel Jacobowitz
2007-10-25 18:23         ` Thiago Jung Bauermann
2007-09-20 21:57 ` [patch 4/4] decimal floating point testcases Thiago Jung Bauermann
2007-10-11 16:19   ` Daniel Jacobowitz
2007-10-15 18:12     ` Thiago Jung Bauermann
2007-10-25 18:22       ` Thiago Jung Bauermann
2007-09-20 21:57 ` [patch 3/4] decimal floating point support for expressions Thiago Jung Bauermann
2007-10-11 16:18   ` Daniel Jacobowitz
2007-10-15 18:12     ` Thiago Jung Bauermann
2007-10-24 20:12       ` Daniel Jacobowitz [this message]
2007-10-25 18:40         ` Thiago Jung Bauermann
     [not found] <20070323030737.475073862@br.ibm.com>
2007-03-27 16:30 ` Thiago Jung Bauermann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071024201208.GK10943@caradoc.them.org \
    --to=drow@false.org \
    --cc=bauerman@br.ibm.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox