comparison src/cpu/sparc/vm/vm_version_sparc.cpp @ 3804:faa472957b38

7059034: Use movxtod/movdtox on T4 Summary: Use new VIS3 mov instructions on T4 for move data between general and float registers. Reviewed-by: never, twisti
author kvn
date Fri, 08 Jul 2011 09:38:48 -0700
parents c04052fd6ae1
children 3d42f82cd811
comparison
equal deleted inserted replaced
3795:b16582d6c7db 3804:faa472957b38
142 (!has_hardware_fsmuld() ? ", no-fsmuld" : "")); 142 (!has_hardware_fsmuld() ? ", no-fsmuld" : ""));
143 143
144 // buf is started with ", " or is empty 144 // buf is started with ", " or is empty
145 _features_str = strdup(strlen(buf) > 2 ? buf + 2 : buf); 145 _features_str = strdup(strlen(buf) > 2 ? buf + 2 : buf);
146 146
147 // UseVIS is set to the smallest of what hardware supports and what
148 // the command line requires. I.e., you cannot set UseVIS to 3 on
149 // older UltraSparc which do not support it.
150 if (UseVIS > 3) UseVIS=3;
151 if (UseVIS < 0) UseVIS=0;
152 if (!has_vis3()) // Drop to 2 if no VIS3 support
153 UseVIS = MIN2((intx)2,UseVIS);
154 if (!has_vis2()) // Drop to 1 if no VIS2 support
155 UseVIS = MIN2((intx)1,UseVIS);
156 if (!has_vis1()) // Drop to 0 if no VIS1 support
157 UseVIS = 0;
158
147 #ifndef PRODUCT 159 #ifndef PRODUCT
148 if (PrintMiscellaneous && Verbose) { 160 if (PrintMiscellaneous && Verbose) {
149 tty->print("Allocation: "); 161 tty->print("Allocation: ");
150 if (AllocatePrefetchStyle <= 0) { 162 if (AllocatePrefetchStyle <= 0) {
151 tty->print_cr("no prefetching"); 163 tty->print_cr("no prefetching");