8265816: Handle new VectorMaskCast node for x86

Reviewed-by: vlivanov, neliasso
This commit is contained in:
Sandhya Viswanathan 2021-04-23 20:49:13 +00:00
parent bebfae48e3
commit e08f506fa7

View File

@ -7516,6 +7516,18 @@ instruct vstoreMask8B_evex(vec dst, vec src, immI_8 size) %{
ins_pipe( pipe_slow );
%}
instruct vmaskcast(vec dst) %{
predicate((vector_length(n) == vector_length(n->in(1))) &&
(vector_length_in_bytes(n) == vector_length_in_bytes(n->in(1))));
match(Set dst (VectorMaskCast dst));
ins_cost(0);
format %{ "vector_mask_cast $dst" %}
ins_encode %{
// empty
%}
ins_pipe(empty);
%}
//-------------------------------- Load Iota Indices ----------------------------------
instruct loadIotaIndices(vec dst, immI_0 src, rRegP scratch) %{