4.115
Last change
on this file since 9b4422a2 was
9b4422a2,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24
|
Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
-
Property mode set to
100644
|
File size:
845 bytes
|
Line | |
---|
1 | This is a "problem" test in Ada versus the C equivalent. In C, |
---|
2 | we used macros to : |
---|
3 | |
---|
4 | + declare a LOT of local integer and floating point variables |
---|
5 | + load them with values |
---|
6 | + check them at certain times |
---|
7 | + to avoid floating point operations on CPUs w/o hardware support |
---|
8 | |
---|
9 | The macros are not equivalent to subprograms doing the same thing. |
---|
10 | We are trying to insure that the register set is fully utilized and |
---|
11 | checking that it survives context switches. If the routines are |
---|
12 | subprograms, then calling conventions and scoping rules apply. Thus |
---|
13 | the variables do not exist throughout the entire life of the task |
---|
14 | as in the C test. |
---|
15 | |
---|
16 | It seems to point out that although the conditional compilation |
---|
17 | and macro capabilities of C are often abused, they do provide |
---|
18 | capabilities which are difficult if not impossible to mimic entirely |
---|
19 | with subprograms. |
---|
Note: See
TracBrowser
for help on using the repository browser.