Ordered comparison oge, ole and one cannot be implemented using a single instruction.
Diff Detail
Event Timeline
I few comments on the comments, but otherwise, LGTM.
lib/Target/PowerPC/PPCFastISel.cpp | ||
---|---|---|
220 | This wording is somewhat misleading. The 'bc' instruction only looks at one bit, but that bit selected via an b{pred} mnemonic is certainly never the 'un' bit. How about: However, bc instruction only inspect the first 3 -> However, bc instruction only inspects one of the first 3 bits | |
221 | to undesired -> to an undesired [note also spelling fix] | |
231 | Remove "unexpectedly". [I understand why you say that, but the fact that the bits default to zero is not necessarily surprising, and I think you might confuse the reader of the comment by implying this is more subtle than it is] |
This wording is somewhat misleading. The 'bc' instruction only looks at one bit, but that bit selected via an b{pred} mnemonic is certainly never the 'un' bit. How about:
However, bc instruction only inspect the first 3 -> However, bc instruction only inspects one of the first 3 bits