microcode, compilers, and supercomputer architecture

From: Eric Smith <eric_at_brouhaha.com>
Date: Mon Apr 5 18:24:13 1999

> The problem now is, if I change the file that contains foo(), I have to
> apply my patch again. Or in other words, once I patch the output from the
> compiler, I can no longer use the compiler. If this is a one time shot and
> I will only work with the output from then on, then no problem. But
> otherwise ...

No, it's not a problem. You comment out (or ifdef) the function, and
specifically comment that the C code is a reference implementation, but that
the actual implementation is in another file, foo.s (or foo.asm, or whatever).

Any time that I hand-optimize some code, I *always* maintain the high level
language code as a reference implementation.
Received on Mon Apr 05 1999 - 18:24:13 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:31:39 BST