Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: Long double support on m68k
Date: Tue, 24 Jul 2001 09:13:00 -0000	[thread overview]
Message-ID: <jehew2s3t1.fsf@sykes.suse.de> (raw)
In-Reply-To: <3B5D8DEA.1040300@cygnus.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1480 bytes --]

Andrew Cagney <ac131313@cygnus.com> writes:

|> > This patch enables long double support for m68k.
|> > Andreas.
|> > 2001-07-23  Andreas Schwab  <schwab@suse.de>
|> > * config/m68k/tm-m68k.h (TARGET_LONG_DOUBLE_FORMAT): Define.
|> > 	(TARGET_LONG_DOUBLE_BIT): Define.
|> > 	(REGISTER_VIRTUAL_SIZE): Return 12 for floating point registers.
|> > 	(MAX_REGISTER_VIRTUAL_SIZE): Increase to 12.
|> > 	(REGISTER_VIRTUAL_TYPE): Return builtin_type_long_double for
|> > 	floating point registers.
|> > 	(REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
|> > 	REGISTER_CONVERT_TO_RAW): Remove.
|> > 	* config/m68k/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define.
|> 
|> 
|> The patch changes something included by all the other config/m68k/tm-*.h
|> header files.  Can you explain why it won't break some of those targets.

Well, that's how the m68k looks like on all targets (if they support
floating point at all).  All targets that make use of the fpu do it
similar as m68k-linux and don't touch any of the macros I changed, so I
think this should be safe.  The patch only changes the representation of
floating point values at gdb's point of view, not how the target is using
it.

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5


  reply	other threads:[~2001-07-24  9:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-24  7:30 Andreas Schwab
2001-07-24  8:58 ` Andrew Cagney
2001-07-24  9:13   ` Andreas Schwab [this message]
2001-07-24 15:12     ` Andrew Cagney
2001-07-25  1:17       ` Andreas Schwab
2001-07-25  8:42         ` Andrew Cagney
2001-07-25  9:05           ` Andreas Schwab
2001-07-25 15:47             ` Andrew Cagney
2001-07-26  1:43               ` Andreas Schwab
2001-07-26  6:36                 ` Andrew Cagney
2001-07-28 13:03     ` Andrew Cagney

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=jehew2s3t1.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=ac131313@cygnus.com \
    --cc=gdb-patches@sources.redhat.com \
    /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