|
|
1.1 root 1: 4.3 libF77 port & performance enhancement changes
2: -------------------------------------------------
3:
4: 1. Trap related routines - traper_.c trapov_.c trpfpe_.c - had been
5: adapted to fit TAHOE machine. See comments in source files.
6:
7: 2. Variables had been declared as register variables whenever that seemed
8: appropriate.
9:
10: 3. The following C files had been modified (in addition to 2. above):
11: * bit.c - got rid of parameter check and internal calls.
12: * cabs.c - cast everything to single precision; uses sign bit negation.
13: * d_cnjg.c - uses sign bit negation.
14: * d_mod.c - uses sign bit negation.
15: * d_sign - uses sign bit negation; slightly changed algorithm.
16: * string routines had been rewritten in asm in order to use string
17: instructions; asm files have "_s" suffix:
18: - s_copy.c -> s_copy_s.s
19: - s_cmp.c -> scmp_s.s
20: - rindex_.c -> rindex_s.s
21: - i_indx.c -> i_indx_s.s
22: - h_indx.c -> h_indx_s.s
23: - hl_ge.c -> hl_ge_s.s
24: - hl_gt.c -> hl_gt_s.s
25: - hl_le.c -> hl_le_s.s
26: - hl_lt.c -> hl_lt_s.s
27: - l_ge.c -> hl_ge_s.s
28: - l_gt.c -> hl_gt_s.s
29: - l_le.c -> hl_le_s.s
30: - l_lt.c -> hl_lt_s.s
31: - s_cat.c -> s_cat_s.s
32: * pow_ci.c - rewritten for single precision computation; may loose some
33: precision (last bit), but this should be expected when
34: using a single precision function; if double precision is
35: needed, pow_zi has to be used.
36: * pow_hh.c - got rid of a redundant statement.
37: * pow_ii.c - got rid of a redundant statement.
38: * r_mod.c - uses sign bit negation.
39: * r_tan - rewritten for single precision computation, and use of sinf &
40: cosf machine instructions; precision is lost up to 4E-7;
41: if more precision is needed, d_tan has to be used.
42: * range.c - rewritten in asm to avoid stack variables; became range_s.s.
43: * system_.c - rewritten in asm to use string instructions;
44: became system_s.s
45: * z_div - uses sign bit negation.
46: * z_sqrt - uses sign bit negation.
47: * zabs.c - uses sign bit negation; minor statement change.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.