[PATCH v2 0/2] Hexagon: Fix undefined behavior bugs

Brian Cain posted 2 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20261019223253.3243067-1-brian.cain@oss.qualcomm.com
Maintainers: Brian Cain <brian.cain@oss.qualcomm.com>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
There is a newer version of this series
target/hexagon/mmvec/hvx_qfloat.c | 5 +++++
target/hexagon/translate.c        | 1 +
2 files changed, 6 insertions(+)
[PATCH v2 0/2] Hexagon: Fix undefined behavior bugs
Posted by Brian Cain 1 month ago
Coverity reported an undefined behavior issue and UBSan showed another
issue with UB.

In v2:
- updated shift assertion to use `shift >= 41` instead of 3.

v1: https://lore.kernel.org/qemu-devel/20261019153558.2422277-1-brian.cain@oss.qualcomm.com/

Brian Cain (2):
  target/hexagon: assert qfloat shift
  target/hexagon: reset implicit USR write state

 target/hexagon/mmvec/hvx_qfloat.c | 5 +++++
 target/hexagon/translate.c        | 1 +
 2 files changed, 6 insertions(+)

-- 
2.34.1