This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is (set (subreg:SI (reg:HI) 0) (const_int)) valid rtx?
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: Kazu Hirata <kazu at cs dot umass dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 02 Jun 2003 14:33:26 +0100
- Subject: Re: Is (set (subreg:SI (reg:HI) 0) (const_int)) valid rtx?
- Organization: SuperH UK Ltd.
> Here (reg:HI ...) is a pseudo register. If this is valid, is the
> register allocator supposed to allocate an SImode hard register for
> (subreg:SI (reg:HI) 0)? Or should this be canonicalized to the
> following?
>
> (set (reg:HI ...)
> (const_int ...))
I'd say that that depends on WORD_REGISTER_OPERATIONS.
--
--------------------------
SuperH (UK) Ltd.
2410 Aztec West / Almondsbury / BRISTOL / BS32 4QX
T:+44 1454 465658