public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: asm_fprintf
       [not found] <1289005430.4754.ezmlm@gcc.gnu.org>
@ 2010-11-06  1:47 ` Jay K
  2010-11-06 12:20   ` asm_fprintf Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Jay K @ 2010-11-06  1:47 UTC (permalink / raw)
  To: gcc


 > And putc_unlocked is a macro which appends to a buffer. puts is not.
 
 
I *assumed* there is puts_unlocked like all the other *_unlocked.
Maybe not.

 
 > (Really I'd rather gcc just output .o files directly...) 
 > It would be an interesting project, but it's not a major component of 
 > optimizing compilation time. I would certainly encourage any interested 
 
 
Perhaps when not optimizing?
Eh, but I've taken no measurement.
There is the possible fork() cost on Cygwin.
But maybe spawn is used, much faster.
 
 
 
 - Jay 		 	   		  

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: asm_fprintf
  2010-11-06  1:47 ` asm_fprintf Jay K
@ 2010-11-06 12:20   ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2010-11-06 12:20 UTC (permalink / raw)
  To: Jay K; +Cc: gcc

Jay K <jay.krell@cornell.edu> writes:

>  > And putc_unlocked is a macro which appends to a buffer. puts is not.
>  
>  
> I *assumed* there is puts_unlocked like all the other *_unlocked.
> Maybe not.

There is an fputs_unlocked.  But it's still a function, not a simple
macro.


>  > (Really I'd rather gcc just output .o files directly...) 
>  > It would be an interesting project, but it's not a major component of 
>  > optimizing compilation time. I would certainly encourage any interested 
>  
>  
> Perhaps when not optimizing?
> Eh, but I've taken no measurement.

I have (on GNU/Linux).

> There is the possible fork() cost on Cygwin.
> But maybe spawn is used, much faster.

As of just a couple of days ago we use spawnve on cygwin.

Ian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-06  3:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1289005430.4754.ezmlm@gcc.gnu.org>
2010-11-06  1:47 ` asm_fprintf Jay K
2010-11-06 12:20   ` asm_fprintf Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).