TestType

usse_test.sail

the type its sources are read in (prec: the vector floats' F32)

function TestType(sel : int, op : int, prec : int) -> int =
    if sel == 0 then (if prec == 1 then T_F32 else T_F16)
    else if sel == 1 then {
        if op < 6 then T_UNK else if op <= 8 then T_I16 else if op <= 11 then T_U16
        else if op == 12 | op == 14 then T_I32 else T_U32
    } else if sel == 2 then T_U8 else T_U32

Used by


Made from ScarletNX's Sail at 166ad3910f80. The Sail and the encodings' file are ScarletNX's (GPL-3.0-or-later); its encodings are from Vita3K's usse_translator_entry.cpp (GPL-2.0-or-later).