Is (set (subreg:SI (reg:HI) 0) (const_int)) valid rtx?

Kazu Hirata kazu@cs.umass.edu
Tue Jun 3 02:47:00 GMT 2003


Hi Qinfeng,

> whether the rtx is valid depends on the target machine, and the
> phase that the rtx located in compiling progress.

I had "before register allocation" in mind and assumed a target
architecture allows (set (reg:SI) (const_int)).  Given these, would
you also say that the validity depends on WORD_REGISTER_OPERATIONS as
Joern suggested?

Thanks,

Kazu Hirata



More information about the Gcc mailing list