delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/06/28/09:24:09

Sender: root AT delorie DOT com
Message-ID: <377779B4.8A30CE7D@inti.gov.ar>
Date: Mon, 28 Jun 1999 10:33:40 -0300
From: salvador <salvador AT inti DOT gov DOT ar>
Organization: INTI
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.36 i686)
X-Accept-Language: es-AR, en, es
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: Regparm....
References: <19990628010734 DOT 59338 AT atrey DOT karlin DOT mff DOT cuni DOT cz>
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019