Other |
---|
tbdResolved |
Duplicate :
|
|
Relates :
|
It was noticed in https://bugs.openjdk.org/browse/JDK-8311597 that in the following instruction sequence: or ebp, 0xa test ebp, ebp jl 0x1b5ee511261 The `test ebp, ebp` is redundant, because the same flags are already set by the 'or' instruction. We could coalesce these instructions together into just: or ebp, 0xa jl 0x1b5ee511261 The 'jl' instruction needs the SF and OF flags, which are set by the 'or' instruction. The `test ebp, ebp` does not modify the result register, just sets the flags, so it is not needed.