mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8143072: [JVMCI] Port JVMCI to AArch64
Reviewed-by: gdub, rschatz, twisti, kvn
This commit is contained in:
parent
453650389f
commit
cee2a179e6
99 changed files with 1350 additions and 386 deletions
|
@ -30,13 +30,10 @@
|
|||
#include "runtime/stubCodeGenerator.hpp"
|
||||
#include "vm_version_sparc.hpp"
|
||||
|
||||
int VM_Version::_features = VM_Version::unknown_m;
|
||||
const char* VM_Version::_features_str = "";
|
||||
unsigned int VM_Version::_L2_data_cache_line_size = 0;
|
||||
|
||||
void VM_Version::initialize() {
|
||||
|
||||
assert(_features != VM_Version::unknown_m, "System pre-initialization is not complete.");
|
||||
assert(_features != 0, "System pre-initialization is not complete.");
|
||||
guarantee(VM_Version::has_v9(), "only SPARC v9 is supported");
|
||||
|
||||
PrefetchCopyIntervalInBytes = prefetch_copy_interval_in_bytes();
|
||||
|
@ -214,7 +211,7 @@ void VM_Version::initialize() {
|
|||
(!has_hardware_fsmuld() ? ", no-fsmuld" : ""));
|
||||
|
||||
// buf is started with ", " or is empty
|
||||
_features_str = os::strdup(strlen(buf) > 2 ? buf + 2 : buf);
|
||||
_features_string = os::strdup(strlen(buf) > 2 ? buf + 2 : buf);
|
||||
|
||||
// UseVIS is set to the smallest of what hardware supports and what
|
||||
// the command line requires. I.e., you cannot set UseVIS to 3 on
|
||||
|
@ -408,7 +405,7 @@ void VM_Version::initialize() {
|
|||
}
|
||||
|
||||
void VM_Version::print_features() {
|
||||
tty->print_cr("Version:%s", cpu_features());
|
||||
tty->print_cr("Version:%s", _features);
|
||||
}
|
||||
|
||||
int VM_Version::determine_features() {
|
||||
|
@ -444,7 +441,7 @@ int VM_Version::determine_features() {
|
|||
return features;
|
||||
}
|
||||
|
||||
static int saved_features = 0;
|
||||
static uint64_t saved_features = 0;
|
||||
|
||||
void VM_Version::allow_all() {
|
||||
saved_features = _features;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue