[llvm] [SystemZ] Handle f16 load positive/negative/complement without libcalls. (PR #136286)

Ulrich Weigand via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 22 01:38:53 PDT 2025


uweigand wrote:

> Was the ABI for f16 published anywhere public by the way? I'm trying to understand how `l*dfr` could work for both f32 and f16, I'm assuming they are passed in the same registers and aligned at the MSB.

It's not yet published (we're planning on doing this soon), but you're indeed correct that they are passed in the same registers as f32 and 64, and aligned at the MSB.  (That's why the same set of instructions already works for both f32 and f64.)

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


More information about the llvm-commits mailing list