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

arch-x86: Movfp account for dataSize=4 #1024

Merged
merged 2 commits into from Apr 18, 2024

Conversation

Lukas-Zenick
Copy link

@Lukas-Zenick Lukas-Zenick commented Apr 14, 2024

Movfp instruction did not account for only copying the lower half of src register if dataSize is 4.
GitHub Issue: #893
I used the test code in issue #893 to verify the fix is working.

Change-Id: I97e7a6f2738a57cad9907ddfe5c8030a26c147e8
@BobbyRBruce BobbyRBruce added the arch-x86 The X86 ISA label Apr 15, 2024
@BobbyRBruce BobbyRBruce linked an issue Apr 15, 2024 that may be closed by this pull request
Copy link
Contributor

@powerjg powerjg left a comment

Choose a reason for hiding this comment

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

Other than a small thing below, it looks good to me. Using functions like bits instead of manual bit-twiddling is less likely to produce errors in my experience.

Also, I assume you used the test code in #893, but it would be good to explicitly say so in the PR or the commit message.

Thanks for the contribution!

src/arch/x86/isa/microops/fpop.isa Outdated Show resolved Hide resolved
Change-Id: I577ee55752f917e561e4c741ba7a19f0229318b5
@ivanaamit ivanaamit merged commit c44b863 into gem5:develop Apr 18, 2024
34 checks passed
@Lukas-Zenick Lukas-Zenick deleted the movss-bugfix branch April 18, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-x86 The X86 ISA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

arch-x86: bug in movss instruction
4 participants