This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Can data embed in the instruction stream ?
- From: wuxi <wu dot andrew dot xi at gmail dot com>
- To: Andrew Haley <aph at redhat dot com>, gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Mon, 28 Apr 2008 17:26:28 +0800
- Subject: Re: Can data embed in the instruction stream ?
- References: <48157B61.80907@gmail.com> <48159403.7080500@redhat.com>
Andrew Haley wrote:
Some arches load constants with simple PC-relative memory reads, and these
typically have a range of only a fe kbytes from the PC. In large functions
we have to insert these into the function body and jump around them. See
arm_reorg in gcc/config/arm/arm.c.
emmm... but what about IA-32 ? It seems that ia32 doesn't have this
constraint...