• Yedidya Feldblum's avatar
    A unit-test for the kSelectInByte table · ef7558cd
    Yedidya Feldblum authored
    Summary:
    [Folly] A unit-test for the `kSelectInByte` table.
    
    The table essentially contains an encoding of every byte value. So we add a unit-test which decodes from the table, confirming that each encoded byte decodes back to the original.
    
    Also add helpers to the test file to ease viewing disassembly of select64 variants.
    
    Reviewed By: ot
    
    Differential Revision: D9628409
    
    fbshipit-source-id: 61cebaff4e9aff223a06194f7440eb3580a9273d
    ef7558cd
CMakeLists.txt 29.7 KB