Skip to content

Commit

Permalink
8264109: Add vectorized implementation for VectorMask.andNot()
Browse files Browse the repository at this point in the history
Reviewed-by: psandoz, njian
  • Loading branch information
Xiaohong Gong authored and Ningsheng Jian committed Apr 2, 2021
1 parent 0935eaa commit 7d0a0ba
Showing 1 changed file with 2 additions and 3 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -152,8 +152,7 @@ public VectorMask<E> eq(VectorMask<E> m) {

@Override
public VectorMask<E> andNot(VectorMask<E> m) {
// FIXME: Generate good code here.
return bOp(m, (i, a, b) -> a && !b);
return and(m.not());
}

/*package-private*/
Expand Down

1 comment on commit 7d0a0ba

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