|
|
Power 6/32 Unix version 1.21
4.3 libF77 port & performance enhancement changes ------------------------------------------------- 1. Trap related routines - traper_.c trapov_.c trpfpe_.c - had been adapted to fit TAHOE machine. See comments in source files. 2. Variables had been declared as register variables whenever that seemed appropriate. 3. The following C files had been modified (in addition to 2. above): * bit.c - got rid of parameter check and internal calls. * cabs.c - cast everything to single precision; uses sign bit negation. * d_cnjg.c - uses sign bit negation. * d_mod.c - uses sign bit negation. * d_sign - uses sign bit negation; slightly changed algorithm. * string routines had been rewritten in asm in order to use string instructions; asm files have "_s" suffix: - s_copy.c -> s_copy_s.s - s_cmp.c -> scmp_s.s - rindex_.c -> rindex_s.s - i_indx.c -> i_indx_s.s - h_indx.c -> h_indx_s.s - hl_ge.c -> hl_ge_s.s - hl_gt.c -> hl_gt_s.s - hl_le.c -> hl_le_s.s - hl_lt.c -> hl_lt_s.s - l_ge.c -> hl_ge_s.s - l_gt.c -> hl_gt_s.s - l_le.c -> hl_le_s.s - l_lt.c -> hl_lt_s.s - s_cat.c -> s_cat_s.s * pow_ci.c - rewritten for single precision computation; may loose some precision (last bit), but this should be expected when using a single precision function; if double precision is needed, pow_zi has to be used. * pow_hh.c - got rid of a redundant statement. * pow_ii.c - got rid of a redundant statement. * r_mod.c - uses sign bit negation. * r_tan - rewritten for single precision computation, and use of sinf & cosf machine instructions; precision is lost up to 4E-7; if more precision is needed, d_tan has to be used. * range.c - rewritten in asm to avoid stack variables; became range_s.s. * system_.c - rewritten in asm to use string instructions; became system_s.s * z_div - uses sign bit negation. * z_sqrt - uses sign bit negation. * 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.