< prev index next >

src/hotspot/share/prims/vectorSupport.cpp

Print this page

426         case T_INT:   // fall-through
427         case T_LONG:  // fall-through
428         case T_FLOAT: // fall-through
429         case T_DOUBLE: return Op_VectorMaskTrueCount;
430         default: fatal("MASK_TRUECOUNT: %s", type2name(bt));
431       }
432       break;
433     }
434     case VECTOR_OP_MASK_TOLONG: {
435       switch (bt) {
436         case T_BYTE:  // fall-through
437         case T_SHORT: // fall-through
438         case T_INT:   // fall-through
439         case T_LONG:  // fall-through
440         case T_FLOAT: // fall-through
441         case T_DOUBLE: return Op_VectorMaskToLong;
442         default: fatal("MASK_TOLONG: %s", type2name(bt));
443       }
444       break;
445     }




































446     case VECTOR_OP_TAN:
447     case VECTOR_OP_TANH:
448     case VECTOR_OP_SIN:
449     case VECTOR_OP_SINH:
450     case VECTOR_OP_COS:
451     case VECTOR_OP_COSH:
452     case VECTOR_OP_ASIN:
453     case VECTOR_OP_ACOS:
454     case VECTOR_OP_ATAN:
455     case VECTOR_OP_ATAN2:
456     case VECTOR_OP_CBRT:
457     case VECTOR_OP_LOG:
458     case VECTOR_OP_LOG10:
459     case VECTOR_OP_LOG1P:
460     case VECTOR_OP_POW:
461     case VECTOR_OP_EXP:
462     case VECTOR_OP_EXPM1:
463     case VECTOR_OP_HYPOT:
464       return Op_CallLeafVector;
465     default: fatal("unknown op: %d", vop);

426         case T_INT:   // fall-through
427         case T_LONG:  // fall-through
428         case T_FLOAT: // fall-through
429         case T_DOUBLE: return Op_VectorMaskTrueCount;
430         default: fatal("MASK_TRUECOUNT: %s", type2name(bt));
431       }
432       break;
433     }
434     case VECTOR_OP_MASK_TOLONG: {
435       switch (bt) {
436         case T_BYTE:  // fall-through
437         case T_SHORT: // fall-through
438         case T_INT:   // fall-through
439         case T_LONG:  // fall-through
440         case T_FLOAT: // fall-through
441         case T_DOUBLE: return Op_VectorMaskToLong;
442         default: fatal("MASK_TOLONG: %s", type2name(bt));
443       }
444       break;
445     }
446     case VECTOR_OP_EXPAND: {
447       switch (bt) {
448         case T_BYTE:  // fall-through
449         case T_SHORT: // fall-through
450         case T_INT:   // fall-through
451         case T_LONG:  // fall-through
452         case T_FLOAT: // fall-through
453         case T_DOUBLE: return Op_ExpandV;
454         default: fatal("EXPAND: %s", type2name(bt));
455       }
456       break;
457     }
458     case VECTOR_OP_COMPRESS: {
459       switch (bt) {
460         case T_BYTE:  // fall-through
461         case T_SHORT: // fall-through
462         case T_INT:   // fall-through
463         case T_LONG:  // fall-through
464         case T_FLOAT: // fall-through
465         case T_DOUBLE: return Op_CompressV;
466         default: fatal("COMPRESS: %s", type2name(bt));
467       }
468       break;
469     }
470     case VECTOR_OP_MASK_COMPRESS: {
471       switch (bt) {
472         case T_BYTE:  // fall-through
473         case T_SHORT: // fall-through
474         case T_INT:   // fall-through
475         case T_LONG:  // fall-through
476         case T_FLOAT: // fall-through
477         case T_DOUBLE: return Op_CompressM;
478         default: fatal("MASK_COMPRESS: %s", type2name(bt));
479       }
480       break;
481     }
482     case VECTOR_OP_TAN:
483     case VECTOR_OP_TANH:
484     case VECTOR_OP_SIN:
485     case VECTOR_OP_SINH:
486     case VECTOR_OP_COS:
487     case VECTOR_OP_COSH:
488     case VECTOR_OP_ASIN:
489     case VECTOR_OP_ACOS:
490     case VECTOR_OP_ATAN:
491     case VECTOR_OP_ATAN2:
492     case VECTOR_OP_CBRT:
493     case VECTOR_OP_LOG:
494     case VECTOR_OP_LOG10:
495     case VECTOR_OP_LOG1P:
496     case VECTOR_OP_POW:
497     case VECTOR_OP_EXP:
498     case VECTOR_OP_EXPM1:
499     case VECTOR_OP_HYPOT:
500       return Op_CallLeafVector;
501     default: fatal("unknown op: %d", vop);
< prev index next >