Manifest of check-in
[5481b6f6f8]
- Add a fast path for double-precision arithmetic in the add, subtract, multiply and divide instructions. When both operands are doubles, or one is a double and the other a wide integer, the result is computed in TEBCresume instead of going out to ExecuteExtendedBinaryMathOp. It is placed after the integer fast path, so integer arithmetic is unaffected. Adds 114 tests to expr.test. Code and tests written by Claude (Anthropic); reviewed, built and tested by EricT.
by
rocketship98 on
2026-11-02 01:41:56.
B 57d922fe95023d72b37a05372fea31a1fd1856636170ad6304aa117689894906
C Add\sa\sfast\spath\sfor\sdouble-precision\sarithmetic\sin\sthe\sadd,\ssubtract,\smultiply\sand\sdivide\sinstructions.\sWhen\sboth\soperands\sare\sdoubles,\sor\sone\sis\sa\sdouble\sand\sthe\sother\sa\swide\sinteger,\sthe\sresult\sis\scomputed\sin\sTEBCresume\sinstead\sof\sgoing\sout\sto\sExecuteExtendedBinaryMathOp.\sIt\sis\splaced\safter\sthe\sinteger\sfast\spath,\sso\sinteger\sarithmetic\sis\sunaffected.\sAdds\s114\stests\sto\sexpr.test.\sCode\sand\stests\swritten\sby\sClaude\s(Anthropic);\sreviewed,\sbuilt\sand\stested\sby\sEricT.
D 2026-11-02T01:41:56.230
F generic/tclExecute.c a3722bcfdbe4bd6c704d9505025623311a539e4fc590dd39d64e76587ec80778
F tests/expr.test 687bd47024f28b888c95c0d8abee3d141e849ed4aa42dd65e201c4d4fbd19d2c
P 57d922fe95023d72b37a05372fea31a1fd1856636170ad6304aa117689894906
R 5bd70b3a09dc7fe42b3b19cb335ce9e6
T *branch * double-fastpath
T *sym-double-fastpath *
T -sym-main *
T -sym-trunk *
U rocketship98
Z 5cd1c748d452d5acc5789ddaa19389b8