qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] 680x0 mul and div instructions
@ 2016-10-28 22:39 Laurent Vivier
  2016-10-28 22:39 ` [Qemu-devel] [PATCH 1/2] target-m68k: add 64bit mull Laurent Vivier
  2016-10-28 22:39 ` [Qemu-devel] [PATCH 2/2] target-m68k: add 680x0 divu/divs variants Laurent Vivier
  0 siblings, 2 replies; 7+ messages in thread
From: Laurent Vivier @ 2016-10-28 22:39 UTC (permalink / raw)
  To: qemu-devel; +Cc: schwab, agraf, Richard Henderson, gerg, Laurent Vivier

This series is another subset of the series I sent in May:
https://lists.gnu.org/archive/html/qemu-devel/2016-05/msg00501.html

It must be applied on top of series:
"target-m68k: 680x0 instruction set, part 2"

This subset contains reworked patches of mul and div instructions:
- "add 64bit mull": correctly set QREG_CC_V,
- "inline divu/divs": don't inline divu/divs, but update
   existing functions to manage 680x0 div instructions

I've checked it doesn't break coldfire support:
http://wiki.qemu.org/download/coldfire-test-0.1.tar.bz2
but it can't boot a 680x0 processor kernel.

Laurent Vivier (2):
  target-m68k: add 64bit mull
  target-m68k: add 680x0 divu/divs variants

 linux-user/main.c       |   7 ++
 target-m68k/cpu.h       |   4 -
 target-m68k/helper.h    |   6 +-
 target-m68k/op_helper.c | 102 +++++++++++++++++------
 target-m68k/qregs.def   |   2 -
 target-m68k/translate.c | 210 ++++++++++++++++++++++++++++++++++++++----------
 6 files changed, 256 insertions(+), 75 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2016-10-31 19:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-28 22:39 [Qemu-devel] [PATCH 0/2] 680x0 mul and div instructions Laurent Vivier
2016-10-28 22:39 ` [Qemu-devel] [PATCH 1/2] target-m68k: add 64bit mull Laurent Vivier
2016-10-28 23:25   ` Richard Henderson
2016-10-29  8:36     ` Laurent Vivier
2016-10-31 19:11       ` Richard Henderson
2016-10-28 22:39 ` [Qemu-devel] [PATCH 2/2] target-m68k: add 680x0 divu/divs variants Laurent Vivier
2016-10-28 22:59   ` Laurent Vivier

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