sparc: Optimize context switch

The registers g2 through g4 are reserved for applications.  GCC uses
them as volatile registers by default.  So they are treated like
volatile registers in RTEMS as well.
This commit is contained in:
Sebastian Huber
2014-04-22 07:46:56 +02:00
parent e5120a566c
commit b2ec2d1597
4 changed files with 53 additions and 55 deletions

View File

@@ -397,6 +397,9 @@ describes the role of each of these registers:
@end html
@end ifset
The registers g2 through g4 are reserved for applications. GCC uses them as
volatile registers by default. So they are treated like volatile registers in
RTEMS as well.
@subsubsection Floating Point Registers