https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107723

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|RISC-V lround/ceil/floor    |lround/ceil/floor with
                   |with                        |-fno-fp-int-builtin-inexact
                   |-fno-fp-int-builtin-inexact |
          Component|target                      |middle-end

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is not a target issue though.
As x86_64 produces:
ceilh:
        sub     rsp, 8
        call    ceil
        add     rsp, 8
        cvttsd2si       rax, xmm0
        ret

cvttsd2si will raise inexact also.

Reply via email to