Skip to content
  • Alyssa Rosenzweig's avatar
    pan/bi: Pack csel4 opcodes · d9d549ff
    Alyssa Rosenzweig authored
    
    
    These are pretty straightforward but there's a lot of details to keep
    straight. In the IR, we keep a general logical comparator and types
    separately; in the hardware, the type gets fused with a (much more)
    limited number of comparators. So there's a fair bit of code here to
    account for these differences, fusing in the type information, and
    changing up argument order as necessary to make it actually correct.
    Anything to save a bit!
    
    Signed-off-by: default avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
    Tested-by: Marge Bot <mesa/mesa!4276>
    Part-of: <mesa/mesa!4276>
    d9d549ff