1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext
Ilia Alshanetsky 80dc4c19d6 Fix GH-20838: JIT compiler produces wrong arithmetic results (#21383)
Insert type guards (CHECK_OP1_TRACE_TYPE / CHECK_OP2_TRACE_TYPE) on the
sensitive bailout paths in ADD/SUB/MUL JIT compilation: the MAY_BE_UNDEF
and non-numeric operand breaks. Guards are only emitted when the traced
operand type is IS_LONG or IS_DOUBLE, ensuring TSSA result type
predictions stay valid for side traces without affecting the normal
numeric fast path.


Fixes GH-20838

Co-authored-by: Dmitry Stogov <dmitrystogov@gmail.com>
2026-03-11 15:22:50 +03:00
..
2026-02-28 14:57:41 +01:00
2025-10-15 19:39:12 +02:00
2026-02-17 23:15:55 +01:00
2026-03-02 18:17:14 +00:00
2026-02-27 15:05:14 +01:00
2025-10-15 20:24:22 +02:00
2025-02-17 10:27:33 +03:00
2025-12-03 20:22:38 +00:00
2026-02-27 15:05:14 +01:00
2024-11-27 19:54:23 +00:00
2025-07-22 15:52:29 +02:00
2025-12-22 12:12:42 +01:00
2026-02-27 15:05:14 +01:00
2025-06-09 11:25:41 +02:00
2026-03-02 18:51:29 +01:00
2025-12-16 15:35:25 +01:00
2025-12-22 12:54:36 +00:00
2026-03-07 11:17:56 +01:00
2026-02-27 15:05:14 +01:00
2026-02-27 15:05:14 +01:00
2025-09-29 16:08:31 +02:00
2026-03-06 09:54:32 +01:00
2025-12-28 00:21:56 +01:00