This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: 64bit data on 32bit arch
- From: Ian Lance Taylor <iant at google dot com>
- To: DSS <rajivkumarsingla at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 15 Jan 2010 07:56:07 -0800
- Subject: Re: 64bit data on 32bit arch
- References: <27173359.post@talk.nabble.com>
DSS <rajivkumarsingla@gmail.com> writes:
> I have a general question as if on a 32 bit architecture. we compile with
> option simple
>
> long long a = <some immediate value of 11 digit>
>
> Some processors like mips ARM, mips keep this no. to a different section
> starting with a label like .L3 or .LC0. And some processors like CRIS don't.
> They just move the number with two different move instructions.
>
> I wanna have my case like of ARM,mips. Do anyone have any idea what makes
> compiler to do that.
>
> I have put movdi pattern in my md file. Any help regarding this will be
> really appreciable
See LEGITIMATE_CONSTANT_P.
Ian