aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2019-11-14 13:44:34 +0000
committerRichard Henderson <rth@gcc.gnu.org>2019-11-14 05:44:34 -0800
commit1a7a35c70b5375e5067194d7430e49007f04e243 (patch)
tree334934499375400e71c8d32fb105b5d874874c6c /gcc/doc
parent54138d95c6b234ec5857782deca4a0a24ea3dcfc (diff)
downloadgcc-1a7a35c70b5375e5067194d7430e49007f04e243.zip
gcc-1a7a35c70b5375e5067194d7430e49007f04e243.tar.gz
gcc-1a7a35c70b5375e5067194d7430e49007f04e243.tar.bz2
arm, aarch64: Add support for __GCC_ASM_FLAG_OUTPUTS__
Since all but a couple of lines is shared between the two targets, enable them both at once. * config/arm/aarch-common-protos.h (arm_md_asm_adjust): Declare. * config/arm/aarch-common.c (arm_md_asm_adjust): New. * config/arm/arm-c.c (arm_cpu_builtins): Define __GCC_ASM_FLAG_OUTPUTS__. * config/arm/arm.c (TARGET_MD_ASM_ADJUST): New. * config/aarch64/aarch64-c.c (aarch64_define_unconditional_macros): Define __GCC_ASM_FLAG_OUTPUTS__. * config/aarch64/aarch64.c (TARGET_MD_ASM_ADJUST): New. * doc/extend.texi (FlagOutputOperands): Add documentation for ARM and AArch64. From-SVN: r278226
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/extend.texi39
1 files changed, 39 insertions, 0 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 9db4f9b..1c8ae0d 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -9771,6 +9771,45 @@ referenced within the assembler template via @code{%0} etc, as there's
no corresponding text in the assembly language.
@table @asis
+@item ARM
+@itemx AArch64
+The flag output constraints for the ARM family are of the form
+@samp{=@@cc@var{cond}} where @var{cond} is one of the standard
+conditions defined in the ARM ARM for @code{ConditionHolds}.
+
+@table @code
+@item eq
+Z flag set, or equal
+@item ne
+Z flag clear or not equal
+@item cs
+@itemx hs
+C flag set or unsigned greater than equal
+@item cc
+@itemx lo
+C flag clear or unsigned less than
+@item mi
+N flag set or ``minus''
+@item pl
+N flag clear or ``plus''
+@item vs
+V flag set or signed overflow
+@item vc
+V flag clear
+@item hi
+unsigned greater than
+@item ls
+unsigned less than equal
+@item ge
+signed greater than equal
+@item lt
+signed less than
+@item gt
+signed greater than
+@item le
+signed less than equal
+@end table
+
@item x86 family
The flag output constraints for the x86 family are of the form
@samp{=@@cc@var{cond}} where @var{cond} is one of the standard