File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -5433,7 +5433,7 @@ pipeline %{
54335433attributes %{
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
You can’t perform that action at this time.
0 commit comments