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] |
Hi! This patch adds check for range of the immediate operand in instruction `vcvt' between floating point and fixed point. If the type size of fixed point number is 16, the immediate value should be in range [ 0, 16]. For 32 bit size, the immediate value should be in range [1, 32]. Tested using make check without regression. Changelog: 2011-06-21 Sameera Deshpande <sameera.deshpande@arm.com> gas/ * config/tc-arm.c (vfp_conv): Add check on range of immediate operand in vcvt instruction between floating-point and fixed-point. (operand_parse_code): Add "OP_oI32z". (parse_operands): OP_oI32z case added. gas/testsuite/ * gas/arm/vcvt-bad.d: New test. * gas/arm/vcvt-bad.s: New test. * gas/arm/vcvt-bad.l: New test. * gas/arm/vcvt.d: New test. * gas/arm/vcvt.s: New test.
Attachment:
arm-vcvt-range.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |