[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] a1ff19: target-m68k: fix DEBUG_DISPATCH
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] a1ff19: target-m68k: fix DEBUG_DISPATCH |
Date: |
Thu, 27 Oct 2016 05:00:04 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: a1ff19302007986fa081738e88905a715bd68e2e
https://github.com/qemu/qemu/commit/a1ff19302007986fa081738e88905a715bd68e2e
Author: Laurent Vivier <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/translate.c
Log Message:
-----------
target-m68k: fix DEBUG_DISPATCH
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Commit: b208525797b031c1be4121553e21746686318a38
https://github.com/qemu/qemu/commit/b208525797b031c1be4121553e21746686318a38
Author: John Paul Adrian Glaubitz <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/translate.c
Log Message:
-----------
target-m68k: Build the opcode table only once to avoid multithreading issues
Signed-off-by: John Paul Adrian Glaubitz <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Commit: f076803bbf6ad1618f493f543faff97f3dd0c970
https://github.com/qemu/qemu/commit/f076803bbf6ad1618f493f543faff97f3dd0c970
Author: Laurent Vivier <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/cpu.c
M target-m68k/cpu.h
M target-m68k/translate.c
Log Message:
-----------
target-m68k: define m680x0 CPUs and features
This patch defines height new features:
- M68K_FEATURE_SCALED_INDEX, scaled address index register
- M68K_FEATURE_LONG_MULDIV, 32bit multiply/divide
- M68K_FEATURE_QUAD_MULDIV, 64bit multiply/divide
- M68K_FEATURE_BCCL, long conditional branches
- M68K_FEATURE_BITFIELD, bit field instructions
- M68K_FEATURE_FPU, FPU instructions
- M68K_FEATURE_CAS, cas instruction
- M68K_FEATURE_BKPT, bkpt instruction
Original patch from Andreas Schwab <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Commit: d8633620a112296fcf6a6ae9a1cbba614c0ca502
https://github.com/qemu/qemu/commit/d8633620a112296fcf6a6ae9a1cbba614c0ca502
Author: Laurent Vivier <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/translate.c
Log Message:
-----------
target-m68k: manage scaled index
Scaled index is not supported by 68000, 68008, and 68010.
EA = (bd + PC) + Xn.SIZE*SCALE + od
Ignore it:
M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL
2.4 BRIEF EXTENSION WORD FORMAT COMPATIBILITY
"If the MC68000 were to execute an instruction that
encoded a scaling factor, the scaling factor would be
ignored and would not access the desired memory address.
The earlier microprocessors do not recognize the brief
extension word formats implemented by newer processors.
Although they can detect illegal instructions, they do not
decode invalid encodings of the brief extension word formats
as exceptions."
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Commit: 28b68cd79ef01e8b1f5bd26718cd8c09a12c625f
https://github.com/qemu/qemu/commit/28b68cd79ef01e8b1f5bd26718cd8c09a12c625f
Author: Laurent Vivier <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/translate.c
Log Message:
-----------
target-m68k: introduce read_imXX() functions
Read a 8, 16 or 32bit immediat constant.
An immediate constant is stored in the instruction opcode and
can be in one or two extension words.
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Commit: 4d558f5d580187d594c46b2d449445600d7c7953
https://github.com/qemu/qemu/commit/4d558f5d580187d594c46b2d449445600d7c7953
Author: Laurent Vivier <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/cpu.c
Log Message:
-----------
target-m68k: set disassembler mode to 680x0 or coldfire
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Commit: 7ef25cdd6cee4fa468d6cb913fa064a6689faf7d
https://github.com/qemu/qemu/commit/7ef25cdd6cee4fa468d6cb913fa064a6689faf7d
Author: Laurent Vivier <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/cpu.h
M target-m68k/translate.c
Log Message:
-----------
target-m68k: define operand sizes
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Commit: 2b04e85a3401e13cb19b1de197e6c211eaadca4c
https://github.com/qemu/qemu/commit/2b04e85a3401e13cb19b1de197e6c211eaadca4c
Author: Laurent Vivier <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/cpu.h
Log Message:
-----------
target-m68k: set PAGE_BITS to 12 for m68k
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Commit: bcc098b0c23b4dd902ff56987d769bd839677331
https://github.com/qemu/qemu/commit/bcc098b0c23b4dd902ff56987d769bd839677331
Author: Laurent Vivier <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/translate.c
Log Message:
-----------
target-m68k: REG() macro cleanup
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Commit: 5dbb6784b7e2b833c036b4df58aa07067e35f476
https://github.com/qemu/qemu/commit/5dbb6784b7e2b833c036b4df58aa07067e35f476
Author: Laurent Vivier <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/cpu.h
M target-m68k/helper.c
M target-m68k/translate.c
Log Message:
-----------
target-m68k: allow to update flags with operation on words and bytes
Signed-off-by: Laurent Vivier <address@hidden>
Commit: f9083519034aaa5ad5cd2c5727bd61c29bf60bc5
https://github.com/qemu/qemu/commit/f9083519034aaa5ad5cd2c5727bd61c29bf60bc5
Author: Richard Henderson <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/helper.c
M target-m68k/helper.h
M target-m68k/translate.c
Log Message:
-----------
target-m68k: Replace helper_xflag_lt with setcond
Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Commit: 20a8856eba0980fbe9d2b8ed2b33ecdb9c9fe5ad
https://github.com/qemu/qemu/commit/20a8856eba0980fbe9d2b8ed2b33ecdb9c9fe5ad
Author: Laurent Vivier <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M cpu-exec.c
M target-m68k/cpu.c
M target-m68k/cpu.h
M target-m68k/helper.c
M target-m68k/translate.c
Log Message:
-----------
target-m68k: remove m68k_cpu_exec_enter() and m68k_cpu_exec_exit()
Update cc_op directly from tcg_gen_insn_start() and
restore_state_to_opc()
Copied from target-i386
Signed-off-by: Laurent Vivier <address@hidden>
Commit: 7c0eb318bdcc3667a861e7b0f140df0b6d9895e2
https://github.com/qemu/qemu/commit/7c0eb318bdcc3667a861e7b0f140df0b6d9895e2
Author: Laurent Vivier <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/translate.c
Log Message:
-----------
target-m68k: update move to/from ccr/sr
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Commit: 91f90d7191f862ab27528dbdf76cee55c77f79cf
https://github.com/qemu/qemu/commit/91f90d7191f862ab27528dbdf76cee55c77f79cf
Author: Laurent Vivier <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/cpu.h
M target-m68k/helper.c
M target-m68k/helper.h
M target-m68k/translate.c
Log Message:
-----------
target-m68k: don't update cc_dest in helpers
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Commit: 9fdb533fb129b19610941bd1e5dd93e7471a18f5
https://github.com/qemu/qemu/commit/9fdb533fb129b19610941bd1e5dd93e7471a18f5
Author: Laurent Vivier <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/cpu.h
M target-m68k/translate.c
Log Message:
-----------
target-m68k: update CPU flags management
Copied from target-i386
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Commit: 8e394ccabdb1e439aab092de6b9d2f26432e962f
https://github.com/qemu/qemu/commit/8e394ccabdb1e439aab092de6b9d2f26432e962f
Author: Richard Henderson <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/cpu.h
M target-m68k/helper.c
M target-m68k/translate.c
Log Message:
-----------
target-m68k: Print flags properly
Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Commit: 99c514485b1d7922c4ca1ed767fd45525de4701f
https://github.com/qemu/qemu/commit/99c514485b1d7922c4ca1ed767fd45525de4701f
Author: Richard Henderson <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/cpu.h
M target-m68k/helper.c
M target-m68k/op_helper.c
M target-m68k/translate.c
Log Message:
-----------
target-m68k: Some fixes to SR and flags management
Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Commit: 18dd87f26bed46f22bb1b9536329c02de500f407
https://github.com/qemu/qemu/commit/18dd87f26bed46f22bb1b9536329c02de500f407
Author: Richard Henderson <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/helper.c
Log Message:
-----------
target-m68k: Remove incorrect clearing of cc_x
The CF docs certainly doesnt suggest this is true.
Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Commit: 620c6cf66584bfbee90db84a7e87a6eabf230ca9
https://github.com/qemu/qemu/commit/620c6cf66584bfbee90db84a7e87a6eabf230ca9
Author: Richard Henderson <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/cpu.c
M target-m68k/cpu.h
M target-m68k/helper.c
M target-m68k/helper.h
M target-m68k/op_helper.c
M target-m68k/qregs.def
M target-m68k/translate.c
Log Message:
-----------
target-m68k: Reorg flags handling
Separate all ccr bits. Continue to batch updates via cc_op.
Signed-off-by: Richard Henderson <address@hidden>
Fix gen_logic_cc() to really extend the size of the result.
Fix gen_get_ccr(): update cc_op as it is used by the helper.
Factorize flags computing and src/ccr cleanup
Signed-off-by: Laurent Vivier <address@hidden>
target-m68k: sr/ccr cleanup
Signed-off-by: Laurent Vivier <address@hidden>
Commit: 6a432295d73df91890dc70c4a94dcc4ba88ad1c3
https://github.com/qemu/qemu/commit/6a432295d73df91890dc70c4a94dcc4ba88ad1c3
Author: Richard Henderson <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/translate.c
Log Message:
-----------
target-m68k: Introduce DisasCompare
Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Commit: b459e3eccfae7fe83e30187c391de00bccf4f51d
https://github.com/qemu/qemu/commit/b459e3eccfae7fe83e30187c391de00bccf4f51d
Author: Richard Henderson <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/translate.c
Log Message:
-----------
target-m68k: Use setcond for scc
Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Commit: 9d896621c1820fd8f437fac26fd7d2e0921091c3
https://github.com/qemu/qemu/commit/9d896621c1820fd8f437fac26fd7d2e0921091c3
Author: Richard Henderson <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/translate.c
Log Message:
-----------
target-m68k: Optimize some comparisons
Signed-off-by: Richard Henderson <address@hidden>
[laurent: fixed VC and VS: assign v1, not v2]
Signed-off-by: Laurent Vivier <address@hidden>
Commit: 36f0399d46f2ccf4f6e7451ba46b1e8d0e9ab341
https://github.com/qemu/qemu/commit/36f0399d46f2ccf4f6e7451ba46b1e8d0e9ab341
Author: Richard Henderson <address@hidden>
Date: 2016-10-25 (Tue, 25 Oct 2016)
Changed paths:
M target-m68k/translate.c
Log Message:
-----------
target-m68k: Optimize gen_flush_flags
Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Commit: 991a97ac7434d09f5ecf3e185371b48b699042cf
https://github.com/qemu/qemu/commit/991a97ac7434d09f5ecf3e185371b48b699042cf
Author: Peter Maydell <address@hidden>
Date: 2016-10-27 (Thu, 27 Oct 2016)
Changed paths:
M cpu-exec.c
M target-m68k/cpu.c
M target-m68k/cpu.h
M target-m68k/helper.c
M target-m68k/helper.h
M target-m68k/op_helper.c
M target-m68k/qregs.def
M target-m68k/translate.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/vivier/tags/m68k-part1-pull-request'
into staging
# gpg: Signature made Tue 25 Oct 2016 19:58:46 BST
# gpg: using RSA key 0xF30C38BD3F2FBE3C
# gpg: Good signature from "Laurent Vivier <address@hidden>"
# gpg: aka "Laurent Vivier <address@hidden>"
# gpg: aka "Laurent Vivier (Red Hat) <address@hidden>"
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F 5173 F30C 38BD 3F2F BE3C
* remotes/vivier/tags/m68k-part1-pull-request: (23 commits)
target-m68k: Optimize gen_flush_flags
target-m68k: Optimize some comparisons
target-m68k: Use setcond for scc
target-m68k: Introduce DisasCompare
target-m68k: Reorg flags handling
target-m68k: Remove incorrect clearing of cc_x
target-m68k: Some fixes to SR and flags management
target-m68k: Print flags properly
target-m68k: update CPU flags management
target-m68k: don't update cc_dest in helpers
target-m68k: update move to/from ccr/sr
target-m68k: remove m68k_cpu_exec_enter() and m68k_cpu_exec_exit()
target-m68k: Replace helper_xflag_lt with setcond
target-m68k: allow to update flags with operation on words and bytes
target-m68k: REG() macro cleanup
target-m68k: set PAGE_BITS to 12 for m68k
target-m68k: define operand sizes
target-m68k: set disassembler mode to 680x0 or coldfire
target-m68k: introduce read_imXX() functions
target-m68k: manage scaled index
...
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/ede0cbeb7892...991a97ac7434
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] a1ff19: target-m68k: fix DEBUG_DISPATCH,
GitHub <=