Skip to content

Commit

Permalink
8265816: Handle new VectorMaskCast node for x86
Browse files Browse the repository at this point in the history
Reviewed-by: vlivanov, neliasso
  • Loading branch information
Sandhya Viswanathan committed Apr 23, 2021
1 parent bebfae4 commit e08f506
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/hotspot/cpu/x86/x86.ad
Expand Up @@ -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) %{
Expand Down

1 comment on commit e08f506

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.