stackslot question

Deneau, Tom tom.deneau at
Mon Jun 24 12:07:59 PDT 2013

In HSAIL there is not stack register as such but we can declare an array that is private to each workitem
and reference at positive offsets into it.

I see there is a bug in our current HSAIL implementation of stack slots which needs to be fixed
and we are exploring different ways to fix it.

My question is, assuming a load from a certain stackslot always reads back what was stored to that stackslot,
 (when the load and store both using the same data width)
is there any requirement on the relative positions of different stackslots in memory, 
for example does it matter whether stackslot -8 is at a higher or lower memory address compared to stackslot -16?

-- Tom Deneau

More information about the graal-dev mailing list