On 3/2/24 20:43, Helge Deller wrote:
+/* Expander for assemble_16(s,im14). */
+static int expand_16(DisasContext *ctx, int val)
+{
+ /*
+ * @val is bits [0:15], containing both im14 and s.
+ * Swizzle thing around depending on PSW.W.
+ */
+ int i = (-(val & 1) << 13) | extract32
On 3/3/24 03:19, Richard Henderson wrote:
Reported-by: Sven Schnelle
Signed-off-by: Richard Henderson
---
target/hppa/insns.decode | 15 +--
target/hppa/translate.c | 21 +
2 files changed, 30 insertions(+), 6 deletions(-)
diff --git a/target/hppa/insns.dec