HSAIL store immediate webrev

Eric Caspole eric.caspole at amd.com
Thu Jan 16 06:58:40 PST 2014


Maybe that would be better, here it emits bad HSAIL so we would see the 
problem in the finalizer step.

I had only been using this with int constants formed by

  masm.emitStore(Kind.Int, Constant.forInt(1), fooAddr);

for a particular thing I was doing. I should make more tests and try all 
the different Constant.forBlah type possibilities.


On 01/15/2014 10:29 PM, Christian Thalinger wrote:
> Should you better throw an exception if reg is neither RegisterValue nor Constant instead of using null?
>
> On Jan 14, 2014, at 6:49 AM, Eric Caspole <eric.caspole at amd.com> wrote:
>
>> Hi everyone,
>> I added storing immediates into the HSAIL assembler, see HSA PRM 0.95, pg 128. I just realized this had not been done before and I wanted to use it.
>>
>> http://cr.openjdk.java.net/~ecaspole/hsail_store_immediate/webrev/
>>
>> Thanks,
>> Eric
>>
>
>



More information about the graal-dev mailing list