[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] 680x0 mul and div instructions
From: |
Laurent Vivier |
Subject: |
[Qemu-devel] [PATCH 0/2] 680x0 mul and div instructions |
Date: |
Sat, 29 Oct 2016 00:39:32 +0200 |
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