Why all the SAVE_ macros in transfer_to_handler (head.S)?

From: William Kucharski <hidden>
Date: 2000-08-08 00:36:04

This is likely a FAQ, but does anyone know of any particular reason
transfer_to_handler() (in head.S) uses the three SAVE_ macros (SAVE_4GPRS,
SAVE_8GPRs, SAVE_8GPRS) rather than just the single instruction

    stmw  r8,(GPR8)r21

Yeah, I know the green book says this can have greater latency and take MUCH
longer to execute than separate instructions, but I've yet to find a CPU for
which this is actually true.

So, the question stands, anyone know the original rationale?  Historical
reasons?  To avoid case(s) in which it is true?  To avoid the POWER heritage of
the instruction?  Coding style differences?

					Thanks,
					    William Kucharski
					    wkucharski@lucent.com

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help