diff options
author | Mark Shinwell <shinwell@codesourcery.com> | 2006-06-21 14:20:25 +0000 |
---|---|---|
committer | Mark Shinwell <shinwell@codesourcery.com> | 2006-06-21 14:20:25 +0000 |
commit | fa073d6911d482ba0987c7003d73b5ad4717604a (patch) | |
tree | 08357ec25f38d4b425f841762b141f9e3371b7a6 /gas/doc | |
parent | be2a5f717b0a6fc45c2c457c1342face409ac3d9 (diff) | |
download | gdb-fa073d6911d482ba0987c7003d73b5ad4717604a.zip gdb-fa073d6911d482ba0987c7003d73b5ad4717604a.tar.gz gdb-fa073d6911d482ba0987c7003d73b5ad4717604a.tar.bz2 |
gas/
* config/tc-arm.c (s_arm_unwind_save_vfp_armv6): New. Parse
a directive saving VFP registers for ARMv6 or later.
(s_arm_unwind_save): Add parameter arch_v6 and call
s_arm_unwind_save_vfp or s_arm_unwind_save_vfp_armv6 as
appropriate.
(md_pseudo_table): Add entry for new "vsave" directive.
* doc/c-arm.texi: Correct error in example for "save"
directive (fstmdf -> fstmdx). Also document "vsave" directive.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/c-arm.texi | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi index 0b113f9..b5b9374 100644 --- a/gas/doc/c-arm.texi +++ b/gas/doc/c-arm.texi @@ -506,7 +506,7 @@ instruction. sfmfd f4, 2, [sp]! @exdent @emph{VFP registers} .save @{d8, d9, d10@} - fstmdf sp!, @{d8, d9, d10@} + fstmdx sp!, @{d8, d9, d10@} @exdent @emph{iWMMXt registers} .save @{wr10, wr11@} wstrd wr11, [sp, #-8]! @@ -518,6 +518,26 @@ or wstrd wr10, [sp, #-8]! @end smallexample +@cindex @code{.vsave} directive, ARM +@item .vsave @var{vfp-reglist} +Generate unwinder annotations to restore the VFP registers in @var{vfp-reglist} +using FLDMD. Also works for VFPv3 registers +that are to be restored using VLDM. +The format of @var{vfp-reglist} is the same as the corresponding store-multiple +instruction. + +@smallexample +@exdent @emph{VFP registers} + .vsave @{d8, d9, d10@} + fstmdd sp!, @{d8, d9, d10@} +@exdent @emph{VFPv3 registers} + .vsave @{d15, d16, d17@} + vstm sp!, @{d15, d16, d17@} +@end smallexample + +Since FLDMX and FSTMX are now deprecated, this directive should be +used in favour of @code{.save} for saving VFP registers for ARMv6 and above. + @cindex @code{.pad} directive, ARM @item .pad #@var{count} Generate unwinder annotations for a stack adjustment of @var{count} bytes. |