qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] 680x0 mul and div instructions
@ 2016-10-28 23:01 Laurent Vivier
  2016-10-28 23:01 ` [Qemu-devel] [PATCH v2 1/2] target-m68k: add 64bit mull Laurent Vivier
  2016-10-28 23:01 ` [Qemu-devel] [PATCH v2 2/2] target-m68k: add 680x0 divu/divs variants Laurent Vivier
  0 siblings, 2 replies; 6+ messages in thread
From: Laurent Vivier @ 2016-10-28 23:01 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.

v2:
- Free "rem" and "quot" in "divl".

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 | 214 ++++++++++++++++++++++++++++++++++++++----------
 6 files changed, 259 insertions(+), 76 deletions(-)

-- 
2.7.4

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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-28 23:01 [Qemu-devel] [PATCH v2 0/2] 680x0 mul and div instructions Laurent Vivier
2016-10-28 23:01 ` [Qemu-devel] [PATCH v2 1/2] target-m68k: add 64bit mull Laurent Vivier
2016-10-31 12:48   ` Richard Henderson
2016-10-31 14:21     ` Laurent Vivier
2016-10-28 23:01 ` [Qemu-devel] [PATCH v2 2/2] target-m68k: add 680x0 divu/divs variants Laurent Vivier
2016-10-31 13:06   ` Richard Henderson

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