comparison src/os_cpu/solaris_sparc/vm/vm_version_solaris_sparc.cpp @ 3839:3d42f82cd811

7063628: Use cbcond on T4 Summary: Add new short branch instruction to Hotspot sparc assembler. Reviewed-by: never, twisti, jrose
author kvn
date Thu, 21 Jul 2011 11:25:07 -0700
parents c52cba2a3359
children 8cb110fd7627
comparison
equal deleted inserted replaced
3838:6a991dcb52bb 3839:3d42f82cd811
111 111
112 #ifndef AV_SPARC_VIS3 112 #ifndef AV_SPARC_VIS3
113 #define AV_SPARC_VIS3 0x0400 /* VIS3 instruction set extensions */ 113 #define AV_SPARC_VIS3 0x0400 /* VIS3 instruction set extensions */
114 #endif 114 #endif
115 if (av & AV_SPARC_VIS3) features |= vis3_instructions_m; 115 if (av & AV_SPARC_VIS3) features |= vis3_instructions_m;
116
117 #ifndef AV_SPARC_CBCOND
118 #define AV_SPARC_CBCOND 0x10000000 /* compare and branch instrs supported */
119 #endif
120 if (av & AV_SPARC_CBCOND) features |= cbcond_instructions_m;
116 121
117 } else { 122 } else {
118 // getisax(2) failed, use the old legacy code. 123 // getisax(2) failed, use the old legacy code.
119 #ifndef PRODUCT 124 #ifndef PRODUCT
120 if (PrintMiscellaneous && Verbose) 125 if (PrintMiscellaneous && Verbose)