8000 [RV64_DYNAREC] Added more opcodes ([LA64_DYNAREC] too) by ksco · Pull Request #2205 · ptitSeb/box64 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[RV64_DYNAREC] Added more opcodes ([LA64_DYNAREC] too) #2205

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

Merged
merged 2 commits into from
Dec 25, 2024
Merged

Conversation

ksco
Copy link
Collaborator
@ksco ksco commented Dec 25, 2024

No description provided.

@ksco ksco changed the title [RV64_DYNAREC] Added 66 8E MOV opcode ([LA64_DYNAREC] too) [RV64_DYNAREC] Added more opcodes ([LA64_DYNAREC] too) Dec 25, 2024
INST_NAME("MOV Seg, Ew");
nextop = F8;
u8 = (nextop & 0x38) >> 3;
if ((nextop & 0xC0) == 0xC0) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't there a MODREG macro for that?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please merge this PR, I will do a global replacement in another PR, there are many places need to be replaced across all 3 backends.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

INST_NAME("MOV Seg, Ew");
nextop = F8;
u8 = (nextop & 0x38) >> 3;
if ((nextop & 0xC0) == 0xC0) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if(MODREG) ?

case 0x8C:
INST_NAME("MOV Ed, Seg");
nextop = F8;
if ((nextop & 0xC0) == 0xC0) { // reg <= seg
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MODREG

@ptitSeb ptitSeb merged commit 0329d5f into ptitSeb:main Dec 25, 2024
27 checks passed
@ksco ksco deleted the more branch December 25, 2024 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0