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]

Is const_int zero extended or sign-extended?


Hello,
I am confused by one very basic concept :).  In the following rtx expression, if const_int is 32-bit and DImode is 64-bit, will the const_int sign-extended or zero-extended. In other word, is the content of reg:DI 95 0xffffffffffffffff9 or 0xffffffff9 after this instruction? 

(set:DI (reg:DI 95)
        (const_int -7 [0xfffffff9]))

Thanks,
Bingfeng Mei


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