is_fpclass (fj, mask)
->
sltu (r0, and (movfr2gr.[sd] (fclass.[sd] fj), (to_fclass_mask mask)))
[1]: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#_fclass_sd
Differential D159183
[LoongArch] Support llvm.is.fpclass for f32 and f64 SixWeining on Wed, Aug 30, 2:58 AM. Authored by
Details is_fpclass (fj, mask) [1]: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#_fclass_sd
Diff Detail
Event TimelineComment Actions Sorry. The encoding (bits[6:9]) does not match llvm.is.fpclass's second argument. I must be dizzy. Now it is revised. |