Skip to content

Commit

Permalink
8320209: VectorMaskGen clobbers rflags on x86_64
Browse files Browse the repository at this point in the history
Reviewed-by: kvn, qamai, jbhateja
  • Loading branch information
Sandhya Viswanathan committed Nov 16, 2023
1 parent f3ed275 commit b05e69f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/cpu/x86/x86.ad
Original file line number Diff line number Diff line change
Expand Up @@ -8990,9 +8990,9 @@ instruct vmask_cmp_node(rRegI dst, vec src1, vec src2, kReg mask, kReg ktmp1, kR
%}


instruct vmask_gen(kReg dst, rRegL len, rRegL temp) %{
instruct vmask_gen(kReg dst, rRegL len, rRegL temp, rFlagsReg cr) %{
match(Set dst (VectorMaskGen len));
effect(TEMP temp);
effect(TEMP temp, KILL cr);
format %{ "vector_mask_gen32 $dst, $len \t! vector mask generator" %}
ins_encode %{
__ genmask($dst$$KRegister, $len$$Register, $temp$$Register);
Expand Down

1 comment on commit b05e69f

@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.