This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Sign extension of const_int rtx


On Thu, Jan 20, 2005 at 05:21:35PM +0000, Paul Brook wrote:
> This implies that constants are always sign extended if HOST_WIDE_INT
> is wider than the effective mode of the constant.

Correct.  Which should be checked by e.g. immediate_operand, 
and created by e.g. gen_int_mode.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]