register windows (Fred Christianson)
Tue, 10 Apr 90 12:10:37 EDT

          From comp.compilers

Related articles
register windows (1990-04-10)
| List of all articles for this month |

Date: Tue, 10 Apr 90 12:10:37 EDT
From: (Fred Christianson)
Keywords: sparc, code

Has anybody tried modifying a Sparc compiler to just use 32
registers (i.e. 1 window) rather than using all windows?

If so, what were the results?

The reason I'm interested is that saving a register window takes about 5
microseconds and it happens 2-4 times while handling an interrupt. We've
already removed as many window overflows as we can so modifying the
interrupt handler is no longer an option (or it's an option we are no
longer considering.)

I realize a lot of registers will still have to be saved, but we would
no longer trap into the window_overflow handler and we may not have to save
as many registers.

I'd like to hear any results/comments about 32 globals vs. 7 windows,
not just results relative to my interrupt speed.

Also I'll probably try this with gcc. Any advice about that? Has anybody
done that?

Fred (

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.