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

[Frug]: R5900 viaddi instruction is improperly decoded #75

Open
Mc-muffin opened this issue Feb 5, 2025 · 0 comments
Open

[Frug]: R5900 viaddi instruction is improperly decoded #75

Mc-muffin opened this issue Feb 5, 2025 · 0 comments
Labels
frug Shomething isn't working

Comments

@Mc-muffin
Copy link

Explain the problem.

There's a decoding bug in the VU instruction viaddi, the imm5 is signed but it's decoded as unsigned.

Reproducer

Decode B207034A, it should decode as viaddi $vi3, $vi0, -0x2 but it's decoding as viaddi $vi3, $vi0, 0x1E instead.

Is this issue related to an specific MIPS extension?

R5900 EE (Emotion Engine, A Sony PlayStation 2 extension)

rabbitizer version

1.12.5

Optional: splat/spimdisasm version

No response

Optional: Version of other stuff

No response

Extra comments?

No response

@Mc-muffin Mc-muffin added the frug Shomething isn't working label Feb 5, 2025
@AngheloAlf AngheloAlf mentioned this issue Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frug Shomething isn't working
Projects
None yet
Development

No branches or pull requests

1 participant