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

Quan Anh Mai qamai at openjdk.org
Mon Jun 23 07:43:28 UTC 2025


On Mon, 23 Jun 2025 06:20:11 GMT, Qizheng Xing <qxing at openjdk.org> wrote:

>> A stricter bound would be `TypeInt::make(~t._bits._zeros, t._bits._ones, t._widen)`
>
>> 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

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

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


More information about the hotspot-compiler-dev mailing list