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

Missing x86 mnemonics and registers (self-hosted backend encoder) #19773

Open
Arnau478 opened this issue Apr 26, 2024 · 1 comment · May be fixed by #20050
Open

Missing x86 mnemonics and registers (self-hosted backend encoder) #19773

Arnau478 opened this issue Apr 26, 2024 · 1 comment · May be fixed by #20050
Labels
arch-x86_64 backend-self-hosted enhancement Solving this issue will likely involve adding new logic or components to the codebase.
Milestone

Comments

@Arnau478
Copy link
Contributor

Arnau478 commented Apr 26, 2024

There are some assembly instruction mnemonics missing on the x86 backend, specially some CPL0 instructions like cli, sti, wrmsr, rdmsr, hlt, ltr, lidt, iretq, hlt... There are some registers missing too, namely the control registers (cr0, cr2, and so on).

@Arnau478 Arnau478 changed the title Implement every x86 mnemonic and register for the self-hosted backend encoder Missing x86 mnemonics and registers (self-hosted backend encoder) May 23, 2024
@andrewrk andrewrk added enhancement Solving this issue will likely involve adding new logic or components to the codebase. arch-x86_64 backend-self-hosted labels May 29, 2024
@andrewrk andrewrk added this to the 0.14.0 milestone May 29, 2024
@sfiedler0
Copy link
Contributor

The int mnemonic is missing too…

It throws an interrupt (for example int $1) and can be really good for testing interrupt handlers in the kernel. So it would be nice if that could be implemented.

I just noticed, inb and outb (and as far as I can see all other ins and outs) are missing, so debug logging to UART does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-x86_64 backend-self-hosted enhancement Solving this issue will likely involve adding new logic or components to the codebase.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants