From: David Brenken <david.brenken@efs-auto.org>
To: qemu-devel@nongnu.org
Cc: kbastian@mail.uni-paderborn.de,
Andreas Konopik <andreas.konopik@efs-auto.de>
Subject: [PATCH 0/1] tricore: fixed faulty conditions for extr and imask
Date: Wed, 10 Feb 2021 09:26:49 +0100 [thread overview]
Message-ID: <20210210082650.5516-1-david.brenken@efs-auto.org> (raw)
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
next reply other threads:[~2021-02-10 8:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-10 8:26 David Brenken [this message]
2021-02-10 8:26 ` [PATCH 1/1] tricore: fixed faulty conditions for extr and imask David Brenken
2021-02-10 19:02 ` [PATCH 0/1] " Richard Henderson
2021-02-11 10:02 ` Konopik, Andreas (EFS-GH2)
2021-02-11 11:32 ` no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210210082650.5516-1-david.brenken@efs-auto.org \
--to=david.brenken@efs-auto.org \
--cc=andreas.konopik@efs-auto.de \
--cc=kbastian@mail.uni-paderborn.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).