qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 00/11] target-mips: add mips16 support
@ 2009-12-08 16:06 Nathan Froyd
  2009-12-08 16:06 ` [Qemu-devel] [PATCH 01/11] target-mips: add new HFLAGs for JALX and 16/32-bit delay slots Nathan Froyd
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: Nathan Froyd @ 2009-12-08 16:06 UTC (permalink / raw)
  To: qemu-devel

This patchset adds MIPS16 support to the MIPS backend.  MIPS16 is a
compact encoding of a subset of the MIPS integer instructions, similar
to ARM's Thumb mode.  Mode switching occurs when either a special
instruction (JALX) is executed, or when a jump-to-register instruction
is executed; the instruction mode for the target PC is indicated by the
low bit of the register.

The patches have been tested with GCC's testsuite and GDB's testsuite.

Changes from v1:
  Fixed bug preventing Linux boot
  Fixed usermode compilation error
  Fixed confusion of delay slot size vs. branch size
  Fixed bugs in PC-relative loads and adds
  Moved mode bit from ISAMode field to hflags
  Implemented extended I64 opcodes
  Implemented LDPC instruction
  Implemented DADDIUPC
  64-bit MIPS16 instructions cause RI exceptions when not running in 64-bit mode
    (This is required; see section 1.5 of MIPS16e 64-bit spec: MD00077.)
  Deleted MIPS16 ASE from TODO
  Flipped Config1.CA bit for appropriate CPUs

-Nathan

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-12-08 21:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-08 16:06 [Qemu-devel] [PATCH v2 00/11] target-mips: add mips16 support Nathan Froyd
2009-12-08 16:06 ` [Qemu-devel] [PATCH 01/11] target-mips: add new HFLAGs for JALX and 16/32-bit delay slots Nathan Froyd
2009-12-08 16:06 ` [Qemu-devel] [PATCH 02/11] target-mips: change interrupt bits to be mips16-aware Nathan Froyd
2009-12-08 16:06 ` [Qemu-devel] [PATCH 03/11] target-mips: move ROTR and ROTRV inside gen_shift_{imm, } Nathan Froyd
2009-12-08 16:06 ` [Qemu-devel] [PATCH 04/11] target-mips: make gen_compute_branch 16/32-bit-aware Nathan Froyd
2009-12-08 16:06 ` [Qemu-devel] [PATCH 05/11] target-mips: add gen_base_offset_addr Nathan Froyd
2009-12-08 18:01   ` Nathan Froyd
2009-12-08 16:06 ` [Qemu-devel] [PATCH 06/11] target-mips: split out delay slot handling Nathan Froyd
2009-12-08 16:06 ` [Qemu-devel] [PATCH 07/11] target-mips: add enums for MIPS16 opcodes Nathan Froyd
2009-12-08 16:06 ` [Qemu-devel] [PATCH 08/11] target-mips: add mips16 instruction decoding Nathan Froyd
2009-12-08 16:06 ` [Qemu-devel] [PATCH 09/11] gdbstub: add MIPS16 support Nathan Froyd
2009-12-08 16:06 ` [Qemu-devel] [PATCH 10/11] target-mips: add copyright notice for mips16 work Nathan Froyd
2009-12-08 16:06 ` [Qemu-devel] [PATCH 11/11] target-mips: set Config1.CA for MIPS16-aware CPUs Nathan Froyd

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).