[turbofan] Remove WordEqual after WordAnd if it aims to test a bit.
For Example: ------------------------ 691: Int32Constant[8] 1857: Word32And(1838,691) 1858: Word32Equal(1857,691) 1859: Branch(1858,2141) ======> 691: Int32Constant[8] 1857: Word32And(1838,691) 1859: Branch(1857,2141) ------------------------ Assembly code: ------------------------ andl r9,0x8 cmpb r9l,0x8 jz 0x7f242017bf3c ======> testb r9,0x8 jnz 0x7f56c017be2e ------------------------ Change-Id: I62a2a3d4bda5a82011b1c6aa745c1c8dc8cf4525 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3809052Reviewed-by: Nico Hartmann <nicohartmann@chromium.org> Commit-Queue: Jianxiao Lu <jianxiao.lu@intel.com> Cr-Commit-Position: refs/heads/main@{#82508}
Showing
Please
register
or
sign in
to comment