comparison src/cpu/sparc/vm/vm_version_sparc.hpp @ 10997:46c544b8fbfc

8008407: remove SPARC V8 support Summary: Removed most of the SPARC V8 instructions Reviewed-by: kvn, twisti
author morris
date Fri, 07 Jun 2013 16:46:37 -0700
parents 3a327d0b8586
children eae426d683f6
comparison
equal deleted inserted replaced
10996:ea60d1de6735 10997:46c544b8fbfc
175 assert(AllocatePrefetchStyle >= 0, "AllocatePrefetchStyle should be positive"); 175 assert(AllocatePrefetchStyle >= 0, "AllocatePrefetchStyle should be positive");
176 // Return 0 if AllocatePrefetchDistance was not defined. 176 // Return 0 if AllocatePrefetchDistance was not defined.
177 return AllocatePrefetchDistance > 0 ? AllocatePrefetchStyle : 0; 177 return AllocatePrefetchDistance > 0 ? AllocatePrefetchStyle : 0;
178 } 178 }
179 179
180 // Legacy
181 static bool v8_instructions_work() { return has_v8() && !has_v9(); }
182 static bool v9_instructions_work() { return has_v9(); }
183
184 // Assembler testing 180 // Assembler testing
185 static void allow_all(); 181 static void allow_all();
186 static void revert(); 182 static void revert();
187 183
188 // Override the Abstract_VM_Version implementation. 184 // Override the Abstract_VM_Version implementation.