Rewrite mktime in assembly

-415 bytes,
-39% cycles,
Unit test expanded to cover more cases (there was a bug in 2100 before!)
This commit is contained in:
Colin Leroy-Mira
2024-01-10 22:20:43 +01:00
parent 348a9048b7
commit 03d5e5fba0
8 changed files with 575 additions and 283 deletions

View File

@@ -3,7 +3,7 @@
; 2002-10-22, Greg King
;
; This signed-division function returns both the quotient and the remainder,
; in this structure:
; in this structure: (quotient in sreg, remainder in AX)
;
; typedef struct {
; int rem, quot;