fxcmp{op}{s,d,x}f: wrong results, don't know why #4
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: OpenE2K/qemu-e2k#4
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Output on real e2k machine
Output on qemu-e2k
At first, fxcmpod{s,d,x}f sets invalid operation flag in fpsr. Implement that!
At second, fxcmp{od,ud}xf always return equal flag and it's s and d versions are incorrect. Seems problem may be in
movif
implementation?Sample program is attached
Also this program causes SIGILL.
Fixed
8f48b6da19
The issue fixed.
Seems it was caused because I put fcmpf handlers AFTER unimplented ops in switchcase block, causing a fallthrough somehow.