This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA:] Adjust documentation for LEGITIMATE_CONSTANT_P et al to match reality
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 08 Sep 2008 13:24:19 +0200
- Subject: Re: [RFA:] Adjust documentation for LEGITIMATE_CONSTANT_P et al to match reality
- References: <200809081053.m88ArMob000663@ignucius.se.axis.com>
Hans-Peter Nilsson wrote:
>> Date: Mon, 08 Sep 2008 08:30:17 +0200
>> From: Paolo Bonzini <bonzini@gnu.org>
>
>> Here is my take:
>>
>> "@code{CONSTANT_P} only checks the code of the @var{x} rtx; it does not
>> ensure that the target supports using @var{x} as an immediate
>> value.
>
> Pretty good except should point out that " .long sym+sym3/42"
> might happen. My take, add here: "...or as a literal data
> constant".
Of course.
Paolo