Skip to content

Commit c0073da

Browse files
committed
Remove unnecessary changes
1 parent c2678d7 commit c0073da

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

make/autoconf/flags-ldflags.m4

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,14 +185,17 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_CPU_DEP],
185185
$1_CPU_LDFLAGS_JVM_ONLY="-xarch=sparc"
186186
fi
187187
188-
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
189-
if test "x${OPENJDK_$1_CPU_BITS}" = "x32"; then
190-
$1_CPU_EXECUTABLE_LDFLAGS="-stack:327680"
191-
elif test "x${OPENJDK_$1_CPU_BITS}" = "x64"; then
192-
$1_CPU_EXECUTABLE_LDFLAGS="-stack:1048576"
193-
fi
188+
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
194189
if test "x${OPENJDK_$1_CPU}" = "xx86"; then
195190
$1_CPU_LDFLAGS="-safeseh"
191+
# NOTE: Old build added -machine. Probably not needed.
192+
$1_CPU_LDFLAGS_JVM_ONLY="-machine:I386"
193+
$1_CPU_EXECUTABLE_LDFLAGS="-stack:327680"
194+
elif test "x${OPENJDK_$1_CPU}" = "xaarch64"; then
195+
$1_CPU_EXECUTABLE_LDFLAGS="-stack:1048576"
196+
else
197+
$1_CPU_LDFLAGS_JVM_ONLY="-machine:AMD64"
198+
$1_CPU_EXECUTABLE_LDFLAGS="-stack:1048576"
196199
fi
197200
fi
198201

src/hotspot/cpu/aarch64/aarch64.ad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5433,7 +5433,7 @@ pipeline %{
54335433
attributes %{
54345434
// ARM instructions are of fixed length
54355435
fixed_size_instructions; // Fixed size instructions TODO does
5436-
max_instructions_per_bundle = 4; // A53 = 2, A57 = 4
5436+
max_instructions_per_bundle = 2; // A53 = 2, A57 = 4
54375437
// ARM instructions come in 32-bit word units
54385438
instruction_unit_size = 4; // An instruction is 4 bytes long
54395439
instruction_fetch_unit_size = 64; // The processor fetches one line

0 commit comments

Comments
 (0)