This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: longjmp()/setjmp() difference between gcc 3.3 (Apple) and gcc 3.4.x
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: "Remy X.O. Martin" <vsxo at hotmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 22 Jan 2005 12:44:49 -0500
- Subject: Re: longjmp()/setjmp() difference between gcc 3.3 (Apple) and gcc 3.4.x
- References: <20050122184132.30c80757@portia.local>
On Jan 22, 2005, at 12:41 PM, Remy X.O. Martin wrote:
1) Any idea why the setjmp() call is so expensive on a G5, and is
there a better, less expensive way I could implement the catch
mechanism?
This one I can answer. Well on a G5, the registers are twice as big,
64bit vs 32bit so
you are storing twice as much data.
The others I cannot answer right away because you have not given a good
testcase.
I would file a bug: http://gcc.gnu.org/bugs.html and provide all the
needed
information.
-- Pinski