< prev index next >

src/cpu/ppc/vm/templateTable_ppc_64.cpp

Print this page
rev 8396 : imported patch epsilon-base


 124             __ b(Ldone);
 125           }
 126         }
 127 
 128         if (Rval == noreg || check_null) { // Store null oop.
 129           Register Rnull = Rval;
 130           __ bind(Lnull);
 131           if (Rval == noreg) {
 132             Rnull = Rtmp1;
 133             __ li(Rnull, 0);
 134           }
 135           if (UseCompressedOops) {
 136             __ stw(Rnull, offset, Rbase);
 137           } else {
 138             __ std(Rnull, offset, Rbase);
 139           }
 140         }
 141         __ bind(Ldone);
 142       }
 143       break;



 144     case BarrierSet::ModRef:
 145     case BarrierSet::Other:
 146       ShouldNotReachHere();
 147       break;
 148     default:
 149       ShouldNotReachHere();
 150   }
 151 }
 152 
 153 // ============================================================================
 154 // Platform-dependent initialization
 155 
 156 void TemplateTable::pd_initialize() {
 157   // No ppc64 specific initialization.
 158 }
 159 
 160 Address TemplateTable::at_bcp(int offset) {
 161   // Not used on ppc.
 162   ShouldNotReachHere();
 163   return Address();




 124             __ b(Ldone);
 125           }
 126         }
 127 
 128         if (Rval == noreg || check_null) { // Store null oop.
 129           Register Rnull = Rval;
 130           __ bind(Lnull);
 131           if (Rval == noreg) {
 132             Rnull = Rtmp1;
 133             __ li(Rnull, 0);
 134           }
 135           if (UseCompressedOops) {
 136             __ stw(Rnull, offset, Rbase);
 137           } else {
 138             __ std(Rnull, offset, Rbase);
 139           }
 140         }
 141         __ bind(Ldone);
 142       }
 143       break;
 144     case BarrierSet::Epsilon:
 145       Unimplemented(); // Should look like CardTableForRS without card mark?
 146       break;
 147     case BarrierSet::ModRef:
 148     case BarrierSet::Other:
 149       ShouldNotReachHere();
 150       break;
 151     default:
 152       ShouldNotReachHere();
 153   }
 154 }
 155 
 156 // ============================================================================
 157 // Platform-dependent initialization
 158 
 159 void TemplateTable::pd_initialize() {
 160   // No ppc64 specific initialization.
 161 }
 162 
 163 Address TemplateTable::at_bcp(int offset) {
 164   // Not used on ppc.
 165   ShouldNotReachHere();
 166   return Address();


< prev index next >