[llvm] [AMDGPU][True16] set true16 mode as default on gfx110x (PR #140736)

Brox Chen via llvm-commits llvm-commits at lists.llvm.org
Tue May 20 14:34:52 PDT 2025


broxigarchen wrote:

> > > So what's about 16-bit inline asm constraints? Do we have it?
> > 
> > 
> > Hi Stanislav, is it the "f16 inline interpreted as 16bit value" issue you are pointing to?
> 
> If instruction needs VGPR_16 the constraint "v" will supply VGPR_32. I suspect inline asm will not work in this situation. At the very least it needs to be verified and tested.

I see. Discussed offline with @Sisyph. I think the t16 mode asm inline is not yet supported. But I am not sure if it is blocking. The asm inline should still work with fake16 mode, and after this patch, the codegen can still be configured to use fake16 mode through the mattr setting, until when t16 inline is supported

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


More information about the llvm-commits mailing list