OpenBSD/src zdOIfN2 — sys/arch/amd64/isa clock.c
i8254_delay(): simplify tick computation Back in the mid-90s these optimizations probably made sense, but these days the compiler will produce even better code if we just explicitly use 64-bit math and do the obvious thing. joerg at netbsd.org even popped in on tech@ to agree. ok guenther@
Version | Delta | File | |
---|---|---|---|
1.30 | +6 | -29 | sys/arch/amd64/isa/clock.c |
+6 | -29 | 1 files |