RFR: 8354242: VectorAPI: combine vector not operation with compare [v7]
erifan
duke at openjdk.org
Thu Jun 5 09:51:59 UTC 2025
On Thu, 5 Jun 2025 09:32:15 GMT, erifan <duke at openjdk.org> wrote:
> > FYI: `BoolTest::negate` already does what you want: `mask negate( ) const { return mask(_test^4); }` I think you should use that instead :)
>
> Indeed, I hadn't noticed that, thank you.
Oh I think we still cannot use `BoolTest::negate`, because we cannot instantiate a `BoolTest` object with **unsigned** comparison. `BoolTest::negate` is a non-static function.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24674#issuecomment-2943500455
More information about the hotspot-compiler-dev
mailing list