Overview
| Comment: | * generic/tclExecute.c: changed the check for overflow in sums, reducing objsize, number of branches and cache misses (according to cachegrind). Non-overflow for s=a+b: previous ((a >= 0 || b >= 0 || s < 0) && (s >= 0 || b < 0 || a < 0)) now (((a^s) >= 0) || ((a^b) < 0)) This expresses: "a and s have the same sign or else a and b have different sign". |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
00c98cb96ba4e500c057202a635a7c86 |
| User & Date: | msofer on 2007-08-19 18:59:13.000 |
| Other Links: | manifest | tags |
Context
|
2007-08-19
| ||
| 22:27 | Make Miguel's overflow-detection more mnemonic with a macro. check-in: 8af33a69a7 user: dkf tags: trunk | |
| 18:59 | * generic/tclExecute.c: changed the check for overflow in sums, reducing objsize, number of branch... check-in: 00c98cb96b user: msofer tags: trunk | |
| 10:25 | Resolve [Bug 1752148] check-in: 2415771aae user: dkf tags: trunk | |
Changes
Modified ChangeLog
from [8e2696f9ab]
to [e9ec68b1ea].
[diff]
Modified generic/tclExecute.c
from [e2c578e954]
to [0ae0697289].
[diff]