[PATCH] D52649: [mips] Mark fmaxl as a long double emulation routine

Stefan Maksimovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 10 04:26:29 PDT 2018


smaksimovic added a comment.

My only goal was to correct the return value of fmaxl to be interpreted as a 128bit float.
As it stands the return value is being interpreted as an i128 and fetched from the wrong registers.

I've observed the lowering go as so: crt_fmaxl (called in projects/compiler-rt/lib/builtins/divtc3.c`) -> @llvm.maxnum.f128 -> fmaxl

Is there a side effect to the change apart from what I described as my intention above?


https://reviews.llvm.org/D52649





More information about the llvm-commits mailing list