Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes to UML and DRC backends #13108

Draft
wants to merge 24 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
2745f1f
uml: Add new opcode UML_SETFLGS
987123879113 Dec 20, 2024
147c20d
uml: Add new opcodes MULUH and MULSH
987123879113 Dec 20, 2024
9705f20
uml: Add new opcode BREAK
987123879113 Dec 20, 2024
917fe33
uml: Add note about fcmp opcode flags
987123879113 Dec 20, 2024
1fb75fb
uml: Fix simplified multiplication and division operations to use cor…
987123879113 Dec 20, 2024
d46e0ea
uml: Enforce limit for shift operand to be consistent with the backends
987123879113 Dec 20, 2024
f6eb41f
uml: Add additional documentation for opcodes with unclear naming
987123879113 Dec 20, 2024
9c8a865
drcbec: Add more methods of accessing OP_CARRY
987123879113 Dec 20, 2024
bacafdf
drcbec: Fix flag calculation for BSWAP opcode
987123879113 Dec 20, 2024
1aa065c
drcbec: Implement new MULUH/MULSH opcodes
987123879113 Dec 20, 2024
5a2b3b5
drcbec: Fix flag calculation for MULS
987123879113 Dec 20, 2024
88cfebf
drcbec: Make calculation for shift and rotation opcodes consistent
987123879113 Dec 20, 2024
c6ea674
drcbec: Implement new SETFLGS opcode
987123879113 Dec 20, 2024
942ed0b
drcbec: Add stub for BREAK opcode
987123879113 Dec 20, 2024
e4a1003
drcbex64: Implement new BREAK, SETFLGS, MULUH, MULSH opcodes + variou…
987123879113 Dec 20, 2024
ed93185
drcbex86: Implement new BREAK, SETFLGS, MULUH, and MULSH opcodes + va…
987123879113 Dec 20, 2024
cd4a9c8
ppcdrc: Change MULLWx/MULLWOx to use new MULSH opcode
987123879113 Dec 15, 2024
eb697c5
drcbec: Fix subb
987123879113 Dec 23, 2024
9bbcb5e
Use osd_break_into_debugger instead of int3 for OP_BREAK
987123879113 Dec 23, 2024
2e4d33f
Use lahf/sahf instead of pushfd/popfd
987123879113 Dec 23, 2024
7da0d8e
Pass message to osd_break_into_debugger
987123879113 Dec 23, 2024
ebd4f49
Rename MULUH/MULSH to MULULW/MULSLW
987123879113 Dec 23, 2024
a82298a
x64: Fix status flag calculations
987123879113 Dec 25, 2024
6ca688e
x64: Simplify mululw/mulslw flag calculation
987123879113 Dec 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/devices/cpu/drcbex64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1484,7 +1484,7 @@ void drcbe_x64::op_nop(Assembler &a, const instruction &inst)

void drcbe_x64::op_break(Assembler &a, const instruction &inst)
{
a.int3();
smart_call_r64(a, (x86code *)(uintptr_t)&osd_break_into_debugger, rax);
cuavas marked this conversation as resolved.
Show resolved Hide resolved
}


Expand Down
2 changes: 1 addition & 1 deletion src/devices/cpu/drcbex86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2387,7 +2387,7 @@ void drcbe_x86::op_nop(Assembler &a, const instruction &inst)

void drcbe_x86::op_break(Assembler &a, const instruction &inst)
{
a.int3();
a.call(imm(&osd_break_into_debugger));
987123879113 marked this conversation as resolved.
Show resolved Hide resolved
}

//-------------------------------------------------
Expand Down
Loading