This instruction was referring to the wrong VOPProfile, likely due to a
typo, leading to an incorrect destination register type.
The MC layer will care about this change, but is NFC while 16-bit values
actually use 32 bit registers.
Differential D132878
[AMDGPU][GFX11] Fix dst register class for V_CVT_U32_U16 Joe_Nash on Aug 29 2022, 12:19 PM. Authored by
Details
This instruction was referring to the wrong VOPProfile, likely due to a The MC layer will care about this change, but is NFC while 16-bit values
Diff Detail
Unit Tests Event TimelineComment Actions This instruction may not even be being used. Did we forget to implement an ISel pattern? Comment Actions I'm not sure "forget" is the right word. Without True16 this, instruction is of marginal utility, it's just a slightly shorter encoding of an AND with 0xFFFF. Even with True16 it's not necessary, since you could always use either an AND or a LSHR by 16, but I suppose having a single instruction for both cases is nice for readability. Comment Actions Ok, thanks for that explanation. I was wondering how this instruction would be used. I will commit this to fix the obvious mistake. |