Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Joern Rennecke <amylaar@cygnus.co.uk>
To: law@cygnus.com
Cc: jimb@cygnus.com, egcs@egcs.cygnus.com, gdb@sourceware.cygnus.com
Subject: Re: IA32: printing FP register variables
Date: Mon, 12 Jul 1999 16:50:00 -0000	[thread overview]
Message-ID: <199907122349.AAA25740@phal.cygnus.co.uk> (raw)
In-Reply-To: <9209.931822541@upchuck.cygnus.com>

> I'm not sure this is safe either.  Consider what happens at basic block
> boundaries to the regstack.   I believe variables location relative to 
> the bottom of the stack can change at a basic block boundary.

Huh?  Why that?  The FPU doesn't know about the control flow.
From law@cygnus.com Mon Jul 12 17:07:00 1999
From: Jeffrey A Law <law@cygnus.com>
To: Joern Rennecke <amylaar@cygnus.co.uk>
Cc: jimb@cygnus.com, egcs@egcs.cygnus.com, gdb@sourceware.cygnus.com
Subject: Re: IA32: printing FP register variables 
Date: Mon, 12 Jul 1999 17:07:00 -0000
Message-id: <9384.931824345@upchuck.cygnus.com>
References: <199907122349.AAA25740@phal.cygnus.co.uk>
X-SW-Source: 1999-q3/msg00057.html
Content-length: 766

  In message < 199907122349.AAA25740@phal.cygnus.co.uk >you write:
  > > I'm not sure this is safe either.  Consider what happens at basic block
  > > boundaries to the regstack.   I believe variables location relative to 
  > > the bottom of the stack can change at a basic block boundary.
  > 
  > Huh?  Why that?  The FPU doesn't know about the control flow.
Consider two threads of control, each with one variable on the FP stack.

At some point they merge.  One variable has to be on the bottom, the other
on the top.

regstack has to track this stuff and emit appropriate code at block boundaries
to move stuff around via copies.

It is also why I believe an LCM based copy propagation algorithm can be used
to improve the code generated by regstack.


jeff



       reply	other threads:[~1999-07-12 16:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <400.931648196@upchuck.cygnus.com>
     [not found] ` <np908ljwht.fsf@zwingli.cygnus.com>
     [not found]   ` <9209.931822541@upchuck.cygnus.com>
1999-07-12 16:50     ` Joern Rennecke [this message]
1999-07-12 17:18     ` Robert Lipe
1999-07-12 19:40   ` Richard Henderson
     [not found]     ` <np3dysi9gh.fsf@zwingli.cygnus.com>
1999-07-13 16:05       ` Richard Henderson
     [not found] <9500.931826533@upchuck.cygnus.com>
     [not found] ` <np1zeci6tm.fsf@zwingli.cygnus.com>
     [not found]   ` <npn1ws2xp1.fsf@zwingli.cygnus.com>
1999-07-19 23:41     ` Richard Henderson
1999-07-26 11:43       ` Jim Blandy
1999-07-26 13:15         ` Richard Henderson
1999-07-09 14:00 Michael Meissner
     [not found] <199907091724.SAA31114@phal.cygnus.co.uk>
     [not found] ` <00d401beca31$3d752c10$3404010a@metrowerks.com>
1999-07-09 10:52   ` Jeffrey A Law
1999-07-09 13:50   ` Jim Blandy
  -- strict thread matches above, loose matches on Subject: below --
1999-07-08 20:56 Jim Blandy
     [not found] ` <000d01bec9c2$06f4fdb0$3404010a@metrowerks.com>
1999-07-08 22:04   ` Jeffrey A Law
1999-07-09  7:04     ` Michael Meissner
1999-07-10 11:00       ` Tom Tromey
1999-07-09 10:53   ` Jim Blandy
1999-07-08 22:12 ` Jeffrey A Law

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=199907122349.AAA25740@phal.cygnus.co.uk \
    --to=amylaar@cygnus.co.uk \
    --cc=egcs@egcs.cygnus.com \
    --cc=gdb@sourceware.cygnus.com \
    --cc=jimb@cygnus.com \
    --cc=law@cygnus.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