This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][ARM][GAS] Allow integer immediate for VFP vmov instructions.


Hi Tamar,

> If the immediate is not a float we convert it and copy it's representation
> into the imm field and then carry on validating as if we originally entered
> a floating point immediate.

I think that you ought to verify that the conversion to floating point 
representation has not lost any accuracy, and issue a warning/error if
the floating point and immediate values are not the same.

Cheers
  Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]