This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR target/49142: Invalid 8bit register operand
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 25 May 2011 16:00:14 +0200
- Subject: Re: PATCH: PR target/49142: Invalid 8bit register operand
- References: <20110524155424.GA7400@intel.com>
On Tue, May 24, 2011 at 5:54 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> Hi,
>
> We are working on a new optimization, which turns off TARGET_MOVX.
> GCC generates:
>
> movb %ah, %dil
>
> But %ah can only be used with %[abcd][hl]. ?This patch adds QIreg_operand
> and uses it in *movqi_extv_1_rex64/*movqi_extzv_2_rex64. ?OK for trunk
> if there is no regression?
If this is the case, then please change "q_regs_operand" predicate to
accept just QI_REG_P registers.
Uros.