diff graal/com.oracle.graal.compiler.hsail/src/com/oracle/graal/compiler/hsail/HSAILBackend.java @ 11775:b04b94b71649

Finished PTX assembler and Register -> Variable conversion
author Morris Meyer <morris.meyer@oracle.com>
date Tue, 24 Sep 2013 14:24:47 -0400
parents b8695542d41b
children 23ccaa863eda
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.hsail/src/com/oracle/graal/compiler/hsail/HSAILBackend.java	Tue Sep 24 16:08:07 2013 +0200
+++ b/graal/com.oracle.graal.compiler.hsail/src/com/oracle/graal/compiler/hsail/HSAILBackend.java	Tue Sep 24 14:24:47 2013 -0400
@@ -59,6 +59,11 @@
         paramTypeMap.put("HotSpotResolvedPrimitiveType<long>", "s64");
     }
 
+    @Override
+    public boolean shouldAllocateRegisters() {
+        return true;
+    }
+
     /**
      * Use the HSAIL register set when the compilation target is HSAIL.
      */