Re: [GSoC-19] Expanding fromfp variants on AArch64

2019-08-19 Thread Joseph Myers
On Mon, 19 Aug 2019, Tejas Joshi wrote: > How can I add a target hook to specify the FP_INT_* values from libm ? See target.def. You'll need a GCC-specific enum (GCC_FP_INT_*, say) that GCC uses internally, and a hook that maps between that and FP_INT_*. I'm guessing that for the likely uses,

[GSoC-19] Expanding fromfp variants on AArch64

2019-08-19 Thread Tejas Joshi
Hello. The fromfp/fromfpx variants round to integers with a specified number of bits, to a specified rounding mode. They come with their own complications as Joseph had stated in an initial mail and expected to expand them in AArch64 : > The fromfp / fromfpx / ufromfp / ufromfpx functions (round t