< prev index next >

src/hotspot/share/prims/vectorSupport.cpp

Print this page

413         case T_INT:   // fall-through
414         case T_LONG:  // fall-through
415         case T_FLOAT: // fall-through
416         case T_DOUBLE: return Op_VectorMaskFirstTrue;
417         default: fatal("MASK_FIRSTTRUE: %s", type2name(bt));
418       }
419       break;
420     }
421     case VECTOR_OP_MASK_TRUECOUNT: {
422       switch (bt) {
423         case T_BYTE:  // fall-through
424         case T_SHORT: // fall-through
425         case T_INT:   // fall-through
426         case T_LONG:  // fall-through
427         case T_FLOAT: // fall-through
428         case T_DOUBLE: return Op_VectorMaskTrueCount;
429         default: fatal("MASK_TRUECOUNT: %s", type2name(bt));
430       }
431       break;
432     }












433     case VECTOR_OP_TAN:
434     case VECTOR_OP_TANH:
435     case VECTOR_OP_SIN:
436     case VECTOR_OP_SINH:
437     case VECTOR_OP_COS:
438     case VECTOR_OP_COSH:
439     case VECTOR_OP_ASIN:
440     case VECTOR_OP_ACOS:
441     case VECTOR_OP_ATAN:
442     case VECTOR_OP_ATAN2:
443     case VECTOR_OP_CBRT:
444     case VECTOR_OP_LOG:
445     case VECTOR_OP_LOG10:
446     case VECTOR_OP_LOG1P:
447     case VECTOR_OP_POW:
448     case VECTOR_OP_EXP:
449     case VECTOR_OP_EXPM1:
450     case VECTOR_OP_HYPOT:
451       return Op_CallLeafVector;
452     default: fatal("unknown op: %d", vop);

413         case T_INT:   // fall-through
414         case T_LONG:  // fall-through
415         case T_FLOAT: // fall-through
416         case T_DOUBLE: return Op_VectorMaskFirstTrue;
417         default: fatal("MASK_FIRSTTRUE: %s", type2name(bt));
418       }
419       break;
420     }
421     case VECTOR_OP_MASK_TRUECOUNT: {
422       switch (bt) {
423         case T_BYTE:  // fall-through
424         case T_SHORT: // fall-through
425         case T_INT:   // fall-through
426         case T_LONG:  // fall-through
427         case T_FLOAT: // fall-through
428         case T_DOUBLE: return Op_VectorMaskTrueCount;
429         default: fatal("MASK_TRUECOUNT: %s", type2name(bt));
430       }
431       break;
432     }
433     case VECTOR_OP_MASK_TOLONG: {
434       switch (bt) {
435         case T_BYTE:  // fall-through
436         case T_SHORT: // fall-through
437         case T_INT:   // fall-through
438         case T_LONG:  // fall-through
439         case T_FLOAT: // fall-through
440         case T_DOUBLE: return Op_VectorMaskToLong;
441         default: fatal("MASK_TOLONG: %s", type2name(bt));
442       }
443       break;
444     }
445     case VECTOR_OP_TAN:
446     case VECTOR_OP_TANH:
447     case VECTOR_OP_SIN:
448     case VECTOR_OP_SINH:
449     case VECTOR_OP_COS:
450     case VECTOR_OP_COSH:
451     case VECTOR_OP_ASIN:
452     case VECTOR_OP_ACOS:
453     case VECTOR_OP_ATAN:
454     case VECTOR_OP_ATAN2:
455     case VECTOR_OP_CBRT:
456     case VECTOR_OP_LOG:
457     case VECTOR_OP_LOG10:
458     case VECTOR_OP_LOG1P:
459     case VECTOR_OP_POW:
460     case VECTOR_OP_EXP:
461     case VECTOR_OP_EXPM1:
462     case VECTOR_OP_HYPOT:
463       return Op_CallLeafVector;
464     default: fatal("unknown op: %d", vop);
< prev index next >