This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Stack Checking implementation problems
- From: "Jonah Graham" <JGRAHAM at altera dot com>
- To: "James E Wilson" <wilson at specifixinc dot com>,"Will Reece" <wreece at altera dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Thu, 10 Feb 2005 15:59:02 -0000
- Subject: RE: Stack Checking implementation problems
James E Wilson wrote:
> A workaround would be to add a special unspec RTL pattern that emits
the
> bgeu/break/label. Then you would no longer have control-flow inside
the
> prologue. You can use the gas local label feature to avoid needing to
> create a label rtx.
Thanks very much, this worked. We will still look into how to handle it
as separate instructions with the pointers you suggest to allow further
optimizations, such as inverting the branch which is currently normally
taken.
Jonah