1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-php-src/ext/opcache/tests
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
..
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-06-13 12:35:29 +02:00
2019-06-13 12:35:29 +02:00
2019-06-13 12:35:29 +02:00
2021-04-14 00:21:37 +08:00
2021-05-06 10:46:00 +02:00
2021-05-17 15:46:49 +02:00
2023-10-18 17:34:10 +02:00
2023-10-18 17:34:10 +02:00
2023-10-18 17:34:10 +02:00
2023-10-18 17:34:10 +02:00
2024-03-20 13:21:41 +03:00
2023-01-28 11:49:14 +01:00
2023-01-28 11:49:14 +01:00
2025-03-18 13:42:53 +01:00
2023-04-03 08:02:19 +02:00
2020-02-03 22:52:20 +01:00
2023-04-03 08:02:19 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2023-10-18 17:34:10 +02:00
2021-08-16 15:04:17 +02:00
2021-08-16 15:04:17 +02:00
2020-02-03 22:52:20 +01:00
2019-07-05 11:00:27 +02:00
2022-10-07 15:48:05 +02:00
2021-06-10 10:52:53 +02:00