RFR: 8303804: Fix some errors of If-VectorTest and CMove-VectorTest [v2]
Wang Haomin
wanghaomin at openjdk.org
Thu Mar 9 04:59:04 UTC 2023
On Thu, 9 Mar 2023 04:34:38 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:
>> For example, `strncmp("MachCall", "MachCallStaticJavaNode", strlen("MachCall"))` , it just compare first 8 characters, the result of this `strncmp` is 0. This is the expected result, I don't understand why `strlen` +1.
>
> @haominw Ah I understand, is this behaviour similarly expected for `MachIf`, or we want the node to exactly match here? Thanks.
Just want to match MachIfNode. Because the output of `inst->mach_base_class(_globalNames)` is only `MachIfNode`, no other `MachIf`, so I just match `MachIf`.
-------------
PR: https://git.openjdk.org/jdk/pull/12917
More information about the hotspot-compiler-dev
mailing list