[LLVMdev] floating point: seto opcode

Eli Friedman eli.friedman at gmail.com
Tue Jul 10 12:43:31 PDT 2012


On Tue, Jul 10, 2012 at 12:05 PM, Sirish Pande <spande at codeaurora.org> wrote:
> Hi,
>
>
>
> Given the following in ISDOpcodes.h
>
>
>
>     SETO,            //    0 1 1 1       True if ordered (no nans)
>
>     SETUO,         //    1 0 0 0       True if unordered: isnan(X) |
> isnan(Y)
>
>
>
> Is it safe to assume that SETO is not of SETUO? We have  support for setuo
> in the architecture but not seto.

Yes; see http://llvm.org/docs/LangRef.html#i_fcmp .

-Eli



More information about the llvm-dev mailing list