Mail Archives: djgpp-workers/1999/06/28/09:24:09
Jan Hubicka wrote:
> DJGPP seems to be ideal platform for testing this feature ...
Yes, djgpp is interesting for it.
I must check with 2.95, but when I tested regparm with egcs 1.1.2 it was slower than push/pop, why? egcs is very idiot choosing registers so after all was using more
instructions instead of less.
[snip]
> hello world, zlib, pnglib and some other stuff seems to work well. There are
> problems with longjmp, profiling and debugging, but they was likely to happen.
Did you try with -gstabs3+ ? It can generate debug information for variables optimized to registers so perhaps can help here.
> So please let me know your ideas.
> Just last information that might interest you is the size of stripped
> libc compiled in various regparms:
> -mregparm=0 326kb
> -mregparm=1 323kb
> -mregparm=2 321kb
> -mregparm=3 320kb
> so gcc seems to generate best code for regparm=3 now. This has changed since
> the 2.7.2 times, that liked the regparm=1 the best...
> So maybe it will make sense to only use -mregparm=0 and -mregparm=3 code.
Do you have these libraries available for download? I could try the BYTE benchmarks linking with it.
SET
--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
set AT ieee DOT org set-soft AT bigfoot DOT com
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013
- Raw text -