[patch] Fix arm VFP2 insns
Richard Earnshaw
rearnsha@arm.com
Fri Jan 9 11:36:00 GMT 2004
> Patch below fixes the arm additional vfp2 opcodes (fmdrr, fmrrd, fmsrr and
> fmrrs) and adds corresponding testcase.
>
> It also rearranges the disassembly patterns so these are used in preference to
> the generic mcrr opcode.
>
> Ok?
>
> Paul
>
> 2004-01-09 Paul Brook <paul@codesourcery.com>
>
> * gas/config/tc-arm.c (do_vfp_reg_from_sp2): Rename from do_vfp_sp_reg2.
> (do_vfp_sp_from_reg2): New function.
> (insns): Use them.
> (do_vfp_dp_from_reg2): Check return values properly.
> * gas/testsuite/gas/arm/vfp2.s, gas/arm/vfp2.d: New test.
> * gas/testsuite/gas/arm/arm.exp: Add them.
> * opcodes/arm-opc.h (arm_opcodes): Move generic mcrr after known
> specific opcodes.
Ok. If you want to be strictly accurate, then the functions should
probably be called do_vfp_reg2_from_sp2 and do_vfp_sp2_from_reg2 (there's
two registers read and two written in both cases).
R.
More information about the Binutils
mailing list