Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (28 sloc) 878 Bytes
Flush register windows on sparc.
This function is in a separate file to prevent inlining. The "flushw"
assembler instruction used on sparcv9 flushes all register windows
except the current one, so if it is inlined, the current register
window of the process executing the instruction will not be flushed
See for discussion.
#ifdef __GNUC__
/* This condition should be in sync with one in */
#if defined(__sparcv9) || defined(__sparc_v9__) || defined(__arch64__)
# ifdef __GNUC__
("flushw" : : : "%o7")
# else
# endif /* __GNUC__ */
("ta 0x03")
Something went wrong with that request. Please try again.