This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH, ARM] Fix parsing of int/float immediates for Neon VMOV instructions
- From: Paul Brook <paul at codesourcery dot com>
- To: binutils at sourceware dot org
- Cc: Julian Brown <julian at codesourcery dot com>
- Date: Fri, 2 Mar 2007 17:55:47 +0000
- Subject: Re: [PATCH, ARM] Fix parsing of int/float immediates for Neon VMOV instructions
- References: <45E84BBC.8000800@codesourcery.com>
> To use floating-point immediates, you must now explicitly use a decimal
> point or exponent, i.e.
>
> vmov.f32 dX, #10.0
>
> not
>
> vmov.f32 dX, #10
This would be ok if we rejected the latter. However IIUC after your patch we
silently encode the latter as vmov.i32 dX, #10. This is equivalent to
vmov.f32 dX, #<some denormal or unrepresentable FP value> which is almost
certainly not what the user intended.
Paul