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: How to allocate memory safely in RTL, preferably on the stack? (relating to the RTL-level if-converter)


On 09/08/2015 12:05 PM, Abe wrote:
Dear all,

In order to be able to implement this idea for stores, I think I need
to make some changes to the RTL if-converter such that it will
sometimes add -- to the code being compiled -- a new slot/variable in
the stack frame.  This memory needs to be addressable via a pointer
in the code being generated, so AFAIK just allocating a new
pseudo-register won`t work and AFAIK using an RTL "scratch" register
also won`t work.  I also want to do my best to ensure that this
memory is thread-local.  For those reasons, I`m asking about the
stack.
Look at assign_stack_local.


Jeff


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