Bug 126 - Floating point with immediates
Summary: Floating point with immediates
Status: CONFIRMED
Alias: None
Product: RMAC
Classification: Unclassified
Component: Core (show other bugs)
Version: unspecified
Hardware: PC Linux
: Normal enhancement
Assignee: Shamus Hammons
URL:
Depends on:
Blocks:
 
Reported: 2018-06-09 10:02 CDT by ggn
Modified: 2018-06-09 10:02 CDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ggn 2018-06-09 10:02:18 CDT
Something like fmove.s #1,fp0 or .d produces the wrong constant, but fmove.s #1.0,fp0 is ok.

I.e. the first will treat #1 as an integer and deposit that instead of a IEEE float.

This is probably going to add a lot of confusion so it's probably a good idea to either error out when entering a non-float constant or to silently cast the integer to float.