[llvm] select v_sat_pk from two i16 or v2i16 (PR #121124)

Joe Nash via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 14:25:21 PST 2025


https://github.com/Sisyph commented:

Can you please add tests for GFX12 and implementation for GFX11 and GFX12? The V_SAT_PK_U8_I16 instruction exists on those subtargets as V_SAT_PK_U8_I16_fake16  and V_SAT_PK_U8_I16_t16. V_SAT_PK_U8_I16_fake16 should work equivalently to gfx9 and should work now. A true16 version using V_SAT_PK_U8_I16_t16 may or may not be testable at the current time, and could make sense to defer. 

https://github.com/llvm/llvm-project/pull/121124


More information about the llvm-commits mailing list