RFR: 8360192: C2: Make the type of count leading/trailing zero nodes more precise

Emanuel Peter epeter at openjdk.org
Fri Dec 5 09:13:03 UTC 2025


On Mon, 23 Jun 2025 07:41:01 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

>>> A stricter bound would be `TypeInt::make(~t._bits._zeros, t._bits._ones, t._widen)`
>> 
>> @merykitty Thanks for your review, did you mean `TypeInt::make(clz(~t._bits._zeros), clz(t._bits._ones), t._widen)`?
>
> @MaxXSoft Yes you are right, my mistake

You do need 2 reviewers. I see that @merykitty has reviewed this a while ago, but a re-approval from him would be good since it is so long ago now.

I'll run some testing now.

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

PR Comment: https://git.openjdk.org/jdk/pull/25928#issuecomment-3615927849


More information about the hotspot-compiler-dev mailing list