@Use(REG, STACK)
Deneau, Tom
tom.deneau at amd.com
Fri Apr 25 23:14:29 UTC 2014
Just checking, several of our hsail LIR Ops have annotations for source values like
@Use({REG, STACK, CONST}) protected Value x;
which as I understand it means that the value x is allowed to be instanceof StackSlot.
So unless the underlying emit code can handle Values which are StackSlots, we should remove STACK from the @Use, right?
(Most HSAIL instructions are register only so we would need to emit explicit load instructions).
If the above understanding is true, I'm kind of surprised we didn't hit more problems.
Maybe we don't have enough junits that use up all the registers.
-- Tom
More information about the graal-dev
mailing list