Bug 126

Summary: Floating point with immediates
Product: RMAC Reporter: ggn <ggnkua>
Component: CoreAssignee: Shamus Hammons <jlhamm>
Status: CONFIRMED ---    
Severity: enhancement CC: jlhamm
Priority: Normal    
Version: unspecified   
Hardware: PC   
OS: Linux   

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.