This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Q: regmove.c:gen_add3_insn
Richard Henderson wrote:
>
> On Wed, Apr 12, 2000 at 11:17:27AM +0200, Thomas Sailer wrote:
> > If the target does not support word_mode adds with constants,
>
> How irritating.
Not really. Many fixed point DSP architectures use PQImode
for addresses (which may or may not support immediate adds)
and QImode for the data (thus word_mode is QImode), and do
not support QImode immediate adds. Example architectures
are Motorola 56k and Analog Devices ADSP-21xx (newer variants
of the latter incidentally support QImode adds with _some_
constants of which 2 is a member).
Tom