RFR: 8291600: [vectorapi] vector cast op check is not always needed for vector mask cast [v7]

Jatin Bhateja jbhateja at openjdk.org
Thu Sep 15 08:41:49 UTC 2022


On Thu, 15 Sep 2022 08:35:58 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:

>> Something like: `assert(!is_mask, "mask cast needs the same elem num ")`
>
> Hi, I'd like the add the assertion in the unify patch instead of this. So I will revert this change here. Thanks!

Yes, assert (!is_mask || (is_mask && num_elem_from == num_elem_to),  "mask cast needs the same elem num ").

-------------

PR: https://git.openjdk.org/jdk/pull/9737


More information about the hotspot-compiler-dev mailing list