« Previous | Next » 

Revision d9e028c1

IDd9e028c1d9c2a8d2ad42f2aeb502b71086a52d4d

Added by Peter Maydell about 12 years ago

target-arm: Decode SETEND correctly in Thumb

Decode the SETEND instruction correctly in Thumb mode,
rather than accidentally treating it like CPS. We don't
support BE8 mode, but this change brings the Thumb mode
in to line with behaviour in ARM mode: 'SETEND BE' is
not supported and will provoke an UNDEF exception, but
'SETEND LE' is correctly handled as a no-op.

Signed-off-by: Peter Maydell <>
Reported-by: Daniel Forsgren <>
Reviewed-by: Laurent Desnogues <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences