RFR: 8356760: VectorAPI: Optimize VectorMask.fromLong for all-true/all-false cases [v8]

erifan duke at openjdk.org
Thu Jul 31 02:40:07 UTC 2025


On Wed, 30 Jul 2025 07:06:52 GMT, Hannes Greule <hgreule at openjdk.org> wrote:

>> erifan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Set default warm up to 10000 for JTReg tests
>
> I think there are a few (follow-up?) improvements that can be made:
> 1. Using KnownBits and checking against that rather than requiring a constant in `is_maskall_type`. This is probably a bit difficult to test for now.
> 2. If the range of an input is known to be [-1, 0], we can use that as an input for a MaskAllNode.

Hi @SirYwell thanks for your suggestions. But I'm not quite understand what you meant, can you elaborate?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/25793#issuecomment-3138376026


More information about the hotspot-compiler-dev mailing list