Hi Stefan,

> Initially asm-hard-reg-2.c was intended to be considered only on 64-bit
> x86.  Commit r16-3110 changed this by adding i?86-*-* to the target
> selector but does not add a definition for GPR which renders those tests
> to fail for i?86-*-*.  My intention to not include 32-bit targets was
> due to the usage of long long integer types for GPR operands.  @H.J. Lu,
> can you elaborate on that commit?  Was adding i?86-*-* really intended?
> If so a #define GPR is needed for the target.

adding just target x86_64-*-* is always wrong: you can also get 64-bit
x86 on i?86-*-* targets with -m64 (and 32-bit x86 on x86_64-*-* with
-m32).  Best use target x86 instead.

If you need to restrict to 64-bit, use target { x86 && { ! ia32 } }.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to