This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
ia64 and garbage collection
- From: Andrew Haley <aph at cambridge dot redhat dot com>
- To: Camm Maguire <camm at enhanced dot com>
- Cc: gcc at gcc dot gnu dot org, gcl-devel at gnu dot org, debian-ia64 at lists dot debian dot org
- Date: Tue, 30 Jul 2002 18:39:17 +0100 (BST)
- Subject: ia64 and garbage collection
- References: <E17Zarw-00083q-00@intech19.enhanced.com>
You don't seem to have mentioned that the IA-64 has *two* stacks: one
contains registers and one structures and arrays. If you want to
flush the register stack to memory for the sake of the garbage
collector, that's easy: just call __builtin_ia64_flushrs().
Andrew.