testing new Graal backends for Java conformance
Venkatachalam, Vasanth
Vasanth.Venkatachalam at amd.com
Mon Nov 4 08:36:45 PST 2013
Doug or others-
Do you have a way of testing new backends that are developed for Graal for Java compliance (against the TCK)?
If so, can you explain how we can plug our HSAIL backend into this process so that it also gets tested for Java compliance?
A related question has to do with unit testing. So far we've been writing separate unit tests (in compiler.hsail.test) for each new Java operator that we add support for (e.g., +, -, *) as well as program constructs (e.g., conditionals, loops) to ensure that we are generating the correct code. Is there already a common infrastructure in Graal that could be leveraged for this purpose? On a related note, can you explain at a high level how you are ensuring that you have complete testing coverage (for the x86 code gen) in compiler.test/ ?
Vasanth
More information about the graal-dev
mailing list