Skip to content
Permalink
Browse files
8264109: Add vectorized implementation for VectorMask.andNot()
Reviewed-by: psandoz, njian
  • Loading branch information
Xiaohong Gong authored and Ningsheng Jian committed Apr 2, 2021
1 parent 0935eaa commit 7d0a0bad7f3b6f9900d44ec5cd64c6d2a151a804
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractMask.java
@@ -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
@@ -152,8 +152,7 @@ public int lastTrue() {

@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*/

1 comment on commit 7d0a0ba

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 7d0a0ba Apr 2, 2021

Please sign in to comment.