aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Wohlferd <dw@LimeGreenSocks.com>2015-11-16 21:57:12 +0000
committerJeff Law <law@gcc.gnu.org>2015-11-16 14:57:12 -0700
commit4f237f2ef0ef221a902b73a336b45154a5d8bc2f (patch)
tree8779caa2eb26b786c8d42c9c63bb139dfc5a8c2d /gcc
parent46d825c59cd6d5df4784b99dc0fcb878c2b7c24f (diff)
downloadgcc-4f237f2ef0ef221a902b73a336b45154a5d8bc2f.zip
gcc-4f237f2ef0ef221a902b73a336b45154a5d8bc2f.tar.gz
gcc-4f237f2ef0ef221a902b73a336b45154a5d8bc2f.tar.bz2
inline asm and multi-alternative constraints
* doc/md.texi ('#' and '*' constraint modifiers): Do not include these in the user documentation. (define_peephole2, define_split): Similarly. From-SVN: r230439
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/md.texi5
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5d6213f..b403718 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2015-11-16 David Wohlferd <dw@LimeGreenSocks.com>
+
+ * doc/md.texi ('#' and '*' constraint modifiers): Do not include these
+ in the user documentation.
+ (define_peephole2, define_split): Similarly.
+
2015-11-16 Andris Pavenis <andris.pavenis@iki.fi>
* lto-streamer-out.c (write_global_references): Adjust integer type.
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index 80a1f64..8b2deaa 100644
--- a/gcc/doc/md.texi
+++ b/gcc/doc/md.texi
@@ -1646,7 +1646,9 @@ instruction is defined:
GCC can only handle one commutative pair in an asm; if you use more,
the compiler may fail. Note that you need not use the modifier if
the two alternatives are strictly identical; this would only waste
-time in the reload pass. The modifier is not operational after
+time in the reload pass.
+@ifset INTERNALS
+The modifier is not operational after
register allocation, so the result of @code{define_peephole2}
and @code{define_split}s performed after reload cannot rely on
@samp{%} to make the intended insn match.
@@ -1665,7 +1667,6 @@ constraint as a constraint, and no effect on reloading. For LRA
@samp{*} additionally disparages slightly the alternative if the
following character matches the operand.
-@ifset INTERNALS
Here is an example: the 68000 has an instruction to sign-extend a
halfword in a data register, and can also sign-extend a value by
copying it into an address register. While either kind of register is