Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8275025

Unable to inline vectmask convert

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-panama
    • repo-panama
    • hotspot
    • None
    • generic
    • generic

      Due to incorrect vectmask type checking in inline_vector_convert(), vectmask cast operations are not able to inline. Should be:

      @@ -2414,8 +2414,8 @@ bool LibraryCallKit::inline_vector_convert() {
         // where certain masks (depending on the species) are either propagated
         // through a vector or predicate register.
         if (is_mask &&
      - ((src_type->isa_vect() && dst_type->isa_vectmask()) ||
      - (dst_type->isa_vect() && src_type->isa_vectmask()))) {
      + ((src_type->isa_vectmask() == NULL && dst_type->isa_vectmask()) ||
      + (dst_type->isa_vectmask() == NULL && src_type->isa_vectmask()))) {
           return false;
         }

            njian Ningsheng Jian (Inactive)
            njian Ningsheng Jian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: