Skip to content

Commit

Permalink
[Backport] 8264109: Add vectorized implementation for VectorMask.andN…
Browse files Browse the repository at this point in the history
…ot()

Summary: 8264109: Add vectorized implementation for VectorMask.andNot()

Test Plan: ci jtreg

Reviewed-by: JoshuaZhuwj

Issue: #601
  • Loading branch information
JinZhonghui authored and JoshuaZhuwj committed Jun 9, 2023
1 parent b7382c8 commit 8fbcbf7
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8fbcbf7

Please sign in to comment.