updates on Math operations for multicore version
authorjzhou <jzhou>
Thu, 7 May 2009 21:48:55 +0000 (21:48 +0000)
committerjzhou <jzhou>
Thu, 7 May 2009 21:48:55 +0000 (21:48 +0000)
Robust/src/IR/Flat/BuildCode.java
Robust/src/buildscript

index c476478a870edc04389db12266a259f40bc070b3..a4b4745cda7f560a72d4dc357f3b46da9fbc0127 100644 (file)
@@ -432,6 +432,11 @@ public class BuildCode {
       Iterator classit=state.getClassSymbolTable().getDescriptorsIterator();
       while(classit.hasNext()) {
        ClassDescriptor cn=(ClassDescriptor)classit.next();
+       if(state.MULTICORE) {
+               if(cn.getSymbol().equals("Math")) {
+                       continue;
+               }
+       }
        Iterator methodit=cn.getMethods();
        while(methodit.hasNext()) {
          /* Classify parameters */
index c43dbe3f6ebd34c77f7463113878daf6df6238e3..e231fabd4e86b7b10b31c8889aa3fecc898951be 100755 (executable)
@@ -533,7 +533,7 @@ TILERACFLAGS="${TILERACFLAGS} -DINTERRUPT"
 fi #INTERRUPT version
 
 cp $ROBUSTROOT/Runtime/Tilera/$MAKEFILE ./Makefile
-cp $ROBUSTROOT/Runtime/Tilera/$SIMHVS ./sim.hvc
+cp $ROBUSTROOT/Runtime/Tilera/$SIMHVC ./sim.hvc
 cp ../Runtime/multicoretask.c ./
 cp ../Runtime/multicoreruntime.c ./
 cp ../Runtime/Queue.c ./