src/cpu/ppc/vm/templateTable_ppc_64.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File hotspot Sdiff src/cpu/ppc/vm

src/cpu/ppc/vm/templateTable_ppc_64.cpp

Print this page




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




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

 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();
 164 }
 165 


src/cpu/ppc/vm/templateTable_ppc_64.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File