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] Fix parsing of int/float immediates for Neon VMOV instructions


Hi Julian,

    gas/
    * config/tc-arm.c (arm_it): Add immisfloat field.
    (parse_qfloat_immediate): Disallow integer syntax for floating-point
    immediates. Fix hex immediates, handle 0.0 and -0.0 specially.
    (parse_neon_mov): Set immisfloat bit for operand if it parsed as a
    float.
    (neon_cmode_for_move_imm): Reject non-float immediates for float
    operands.
    (neon_move_immediate): Pass immisfloat bit to
    neon_cmode_for_move_imm.

    gas/testsuite/
    * gas/arm/neon-const.s: Use FP syntax for 0/-0.
    * gas/arm/vfp-neon-syntax-inc.s: Likewise, for 1.
    * gas/arm/neon-cov.s: Use float syntax for FP immediate.

Approved - please apply.


Cheers
  Nick


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