old-cross-binutils/gas/testsuite/gas/arm/vfp2.s
Paul Brook e45d06306f * gas/config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from
do_vfp_sp_reg2.
	(do_vfp_sp2_from_reg2): New function.
	(insns): Use them.
	(do_vfp_dp_from_reg2): Check return values properly.
	* opcodes/arm-opc.h (arm_opcodes): Move generic mcrr after known
	specific opcodes.
	* gas/testsuite/gas/arm/vfp2.s, gas/arm/vfp2.d: New test.
	* gas/testsuite/gas/arm/arm.exp: Add them.
2004-01-09 11:53:16 +00:00

18 lines
407 B
ArmAsm

@ VFP2 Additional instructions
.text
.global F
F:
@ First we test the basic syntax and bit patterns of the opcodes.
@ Use a combination of r5, r10, s15, s17, d0 and d15 to exercise
@ the full register bitpatterns
fmdrr d0, r5, r10
fmrrd r5, r10, d0
fmsrr {s15, s16}, r5, r10
fmrrs r5, r10, {s15, s16}
fmdrr d15, r10, r5
fmrrd r10, r5, d15
fmsrr {s17, s18}, r10, r5
fmrrs r10, r5, {s17, s18}