This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH][ARM][GAS] Allow integer immediate for VFP vmov instructions.
- From: Nick Clifton <nickc at redhat dot com>
- To: Tamar Christina <tamar dot christina at arm dot com>, binutils at sourceware dot org
- Cc: nd at arm dot com, Richard dot Earnshaw at arm dot com, ramana dot radhakrishnan at arm dot com
- Date: Thu, 10 May 2018 12:16:07 +0100
- Subject: Re: [PATCH][ARM][GAS] Allow integer immediate for VFP vmov instructions.
- References: <20180510110633.GA5507@arm.com>
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