SSE is an x86 specific CPU feature/extension but 'UseSSE' is a global option which is also used in shared code. This forces other platforms to either define it or use its default value which is bot not very appealing.
The option should therefore be moved from globals.hpp to globals_x86.hpp and the usages in shared code should be refactored to depend on platform independent flags instead. These platform independent flags can be controlled from platform specific code (on x86 for example depending on the value of UseSSE).
The option should therefore be moved from globals.hpp to globals_x86.hpp and the usages in shared code should be refactored to depend on platform independent flags instead. These platform independent flags can be controlled from platform specific code (on x86 for example depending on the value of UseSSE).
- duplicates
-
JDK-8238681 Make -XX:UseSSE flag x86-specific
-
- Resolved
-
- relates to
-
JDK-8238681 Make -XX:UseSSE flag x86-specific
-
- Resolved
-
-
JDK-8038595 Using platform specific flags may cause VM crash
-
- Closed
-