qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 7472e2: target/arm: Generate UNDEF for 32-bit


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 7472e2: target/arm: Generate UNDEF for 32-bit Thumb2 insns
Date: Mon, 11 Dec 2017 09:49:50 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 7472e2efb049ea65a6a5e7261b78ebf5c561bc2f
      
https://github.com/qemu/qemu/commit/7472e2efb049ea65a6a5e7261b78ebf5c561bc2f
  Author: Peter Maydell <address@hidden>
  Date:   2017-12-11 (Mon, 11 Dec 2017)

  Changed paths:
    M target/arm/translate.c

  Log Message:
  -----------
  target/arm: Generate UNDEF for 32-bit Thumb2 insns

The refactoring of commit 296e5a0a6c3935 has a nasty bug:
it accidentally dropped the generation of code to raise
the UNDEF exception when disas_thumb2_insn() returns nonzero.
This means that 32-bit Thumb2 instruction patterns that
ought to UNDEF just act like nops instead. This is likely
to break any number of things, including the kernel's "disable
the FPU and use the UNDEF exception to identify when to turn
it back on again" trick.

Signed-off-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Reviewed-by: Richard Henderson <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]