From 56a38cec99f62a07d3c38574199e274fd5563869 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 25 Apr 1996 01:45:52 +0000 Subject: (s_register_operand): Add comment documenting why it exists. From-SVN: r11884 --- gcc/config/arm/arm.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 8d32108..fcb7f83 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -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) -- cgit v1.1