This is the mail archive of the gcc-patches@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: RFC: hex constants in const_int (plus small altivec problem)


On Thursday, Dec 19, 2002, at 17:23 US/Pacific, Aldy Hernandez wrote:
So I have the patch below, but the -2147483648 looks absolutely
hideous.  I believe this is the right approach, but I'd like
comments.  If it is ok, I'd like to hack the rtl reader to allow for
hex constants in .md files, ala:

    (const_int 0x80000000)

Actually, regardless of the altivec problem, I'd like to do this.
Some things are simpler in hex ;-).

Thoughts?

I was the one who filed both reports knowing that the approach for -2147483648
will be generating an extra warning messages in the code. A way to have hex in the
.md files will make sure there is way for no warnings to happen.

Thanks,
Andrew Pinski


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