diff options
author | Doug Evans <dje@gnu.org> | 1995-03-14 18:35:45 +0000 |
---|---|---|
committer | Doug Evans <dje@gnu.org> | 1995-03-14 18:35:45 +0000 |
commit | e82ea128f94feba3b2ecdc4596e4694f7ec60fd2 (patch) | |
tree | 35387d901359615ee4efb34f479da2bd883e7c0e /gcc | |
parent | a0b2ce4ce9bcf88a5c60ec7f138378bd62d63a35 (diff) | |
download | gcc-e82ea128f94feba3b2ecdc4596e4694f7ec60fd2.zip gcc-e82ea128f94feba3b2ecdc4596e4694f7ec60fd2.tar.gz gcc-e82ea128f94feba3b2ecdc4596e4694f7ec60fd2.tar.bz2 |
(arm_volatile_func): Install the government approved version of the comment.
From-SVN: r9181
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/arm/arm.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 9995b06..99961be 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -2719,12 +2719,11 @@ output_return_instruction (operand, really_return) return ""; } -/* Return nonzero if optimizing and the current function is volatile - (ie: `noreturn'). - Since such functions don't return call-saved registers don't need to - be saved. Making such an optimization may seem dubious at first glance. - It was put in for a particular user who was using them to do context - switching and obviously wanted it to be fast. */ +/* Return nonzero if optimizing and the current function is volatile. + Such functions never return, and many memory cycles can be saved + by not storing register values that will never be needed again. + This optimization was added to speed up context switching in a + kernel application. */ int arm_volatile_func () |