]> gcc.gnu.org Git - gcc.git/commitdiff
(s_register_operand): Add comment documenting why it exists.
authorDoug Evans <dje@gnu.org>
Thu, 25 Apr 1996 01:45:52 +0000 (01:45 +0000)
committerDoug Evans <dje@gnu.org>
Thu, 25 Apr 1996 01:45:52 +0000 (01:45 +0000)
From-SVN: r11884

gcc/config/arm/arm.c

index 8d32108dcf446e6573c89939e53fd0533896fed4..fcb7f8390910c23fbdb7977a6f7b5da97152ce0a 100644 (file)
@@ -1301,7 +1301,12 @@ neg_const_double_rtx_ok_for_fpu (x)
 /* Predicates for `match_operand' and `match_operator'.  */
 
 /* s_register_operand is the same as register_operand, but it doesn't accept
-   (SUBREG (MEM)...). */
+   (SUBREG (MEM)...).
+
+   This function exists because at the time it was put in it led to better
+   code.  SUBREG(MEM) always needs a reload in the places where
+   s_register_operand is used, and this seemed to lead to excessive
+   reloading.  */
 
 int
 s_register_operand (op, mode)
This page took 0.072369 seconds and 5 git commands to generate.