src/cpu/sparc/vm/vm_version_sparc.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/cpu/sparc/vm/vm_version_sparc.cpp

src/cpu/sparc/vm/vm_version_sparc.cpp

Print this page

        

*** 216,225 **** --- 216,228 ---- // T4 and newer Sparc cpus have fast RDPC. if (has_fast_rdpc() && FLAG_IS_DEFAULT(UseRDPCForConstantTableBase)) { FLAG_SET_DEFAULT(UseRDPCForConstantTableBase, true); } + // Currently not supported anywhere. + FLAG_SET_DEFAULT(UseFPUForSpilling, false); + MaxVectorSize = 8; assert((InteriorEntryAlignment % relocInfo::addr_unit()) == 0, "alignment is not a multiple of NOP size"); #endif
*** 261,282 **** if (!has_vis2()) // Drop to 1 if no VIS2 support UseVIS = MIN2((intx)1,UseVIS); if (!has_vis1()) // Drop to 0 if no VIS1 support UseVIS = 0; - // Enable UseFPUForSpilling if low-latency GP-to-FP register move instructions are available - if (UseVIS > 2) { // FP spill use VIS3 MOVxTOd/MOVdTOx - if (FLAG_IS_DEFAULT(UseFPUForSpilling)) { - FLAG_SET_DEFAULT(UseFPUForSpilling, true); - } - } else if (UseFPUForSpilling) { - if (!FLAG_IS_DEFAULT(UseFPUForSpilling)) { - warning("Spill to float registers requires VIS3 instructions (not available on this CPU)."); - } - FLAG_SET_DEFAULT(UseFPUForSpilling, false); - } - // SPARC T4 and above should have support for AES instructions if (has_aes()) { if (UseVIS > 2) { // AES intrinsics use MOVxTOd/MOVdTOx which are VIS3 if (FLAG_IS_DEFAULT(UseAES)) { FLAG_SET_DEFAULT(UseAES, true); --- 264,273 ----
src/cpu/sparc/vm/vm_version_sparc.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File