Branches of the form
if (a == null) ...
if (a != null) ...
are common on the V8 Richards benchmark. We should create new opcodes that fuse these instructions.
Created attachment 24568 [details]
Comment on attachment 24568 [details]
3054 /* jneq_null cond(r) target(offset)
3036 /* jeq_null cond(r) target(offset)
Let's call "cond" "src", like you suggested.
Seems like we might get a little speedup out of experimenting with the asm a little, but this looks good.
Landed in r37789.