[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/1] tricore: fixed faulty conditions for extr and imask
From: |
David Brenken |
Subject: |
[PATCH 0/1] tricore: fixed faulty conditions for extr and imask |
Date: |
Wed, 10 Feb 2021 09:26:49 +0100 |
From: Andreas Konopik <andreas.konopik@efs-auto.de>
Hello together,
we have fixed a few conditions leading to incorrect intermediate code
generation. RCPW_IMASK, RRPW_EXTR, RRPW_EXTR_U and RRPW_IMASK invoke
undefined behavior for "pos + width > 32", which is also checked in
tcg_gen_extract_tl(). RRRW_EXTR_U invokes undefined behavior for
"width == 0", hence we removed that condition.
Andreas Konopik (1):
tricore: fixed faulty conditions for extr and imask
target/tricore/translate.c | 37 ++++++++++---------------------------
1 file changed, 10 insertions(+), 27 deletions(-)
--
2.30.0
- [PATCH 0/1] tricore: fixed faulty conditions for extr and imask,
David Brenken <=