freaknbigpanda wrote:

Hi @pranavk  , there is a similar ABI difference between Clang and GCC that I 
think also needs to be addressed (which Michael Matz pointed out in the google 
group discussion as well) see the following godbolt:

https://godbolt.org/z/jKPGr5ff8

If you return a 256bit type on a machine that doesn't support AVX clang will 
pack it into two xmm registers whereas GCC returns in memory, this also applies 
to returning 512bit vector type on machines that support AVX but not AVX512. Is 
this difference something you have already considered? I am commenting on this 
PR directly since I think the code change required to fix this is similar to 
the one you made here. Interested to know what you think!

https://github.com/llvm/llvm-project/pull/120670
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to