top | item 20878202

(no title)

univacky | 6 years ago

Compilers like MS and Turbo C used a clever technique - a program could be compiled with a software floating point library and shipped, and the existence of the FP coprocessor would be detected at runtime and the program would self-modify appropriately. If there was a coprocessor, the first time any particular FP routine was called, it would overwrite the instruction calling the library with the appropriate FP coprocessor instruction.

discuss

order

No comments yet.