Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Commit

Permalink
8241587: Aarch64: remove x86 specifics from os_linux.cpp/hpp/inline.hpp
Browse files Browse the repository at this point in the history
Reviewed-by: dholmes
  • Loading branch information
Stuart Monteith committed Apr 10, 2020
1 parent 455d2e7 commit ca46bba
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 50 deletions.
6 changes: 0 additions & 6 deletions src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.cpp
Expand Up @@ -462,12 +462,6 @@ int os::Linux::get_fpu_control_word(void) {
void os::Linux::set_fpu_control_word(int fpu_control) { void os::Linux::set_fpu_control_word(int fpu_control) {
} }


// Check that the linux kernel version is 2.4 or higher since earlier
// versions do not support SSE without patches.
bool os::supports_sse() {
return true;
}

bool os::is_allocatable(size_t bytes) { bool os::is_allocatable(size_t bytes) {
return true; return true;
} }
Expand Down
5 changes: 1 addition & 4 deletions src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.hpp
@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, Red Hat Inc. All rights reserved. * Copyright (c) 2014, Red Hat Inc. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
Expand Down Expand Up @@ -27,9 +27,6 @@
#define OS_CPU_LINUX_AARCH64_OS_LINUX_AARCH64_HPP #define OS_CPU_LINUX_AARCH64_OS_LINUX_AARCH64_HPP


static void setup_fpu(); static void setup_fpu();
static bool supports_sse();

static jlong rdtsc();


static bool is_allocatable(size_t bytes); static bool is_allocatable(size_t bytes);


Expand Down
40 changes: 0 additions & 40 deletions src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.inline.hpp

This file was deleted.

0 comments on commit ca46bba

Please sign in to comment.