[PATCH v3 11/19] RISC-V: Hard float support for 32-bit

Maciej W. Rozycki macro@wdc.com
Thu Jul 16 08:27:18 GMT 2020


On Sun, 12 Jul 2020, Alistair Francis via Libc-alpha wrote:

> diff --git a/sysdeps/riscv/rv32/rvd/s_lrint.c b/sysdeps/riscv/rv32/rvd/s_lrint.c
> new file mode 100644
> index 0000000000..bdec792f18
> --- /dev/null
> +++ b/sysdeps/riscv/rv32/rvd/s_lrint.c
> @@ -0,0 +1,31 @@
> +/* lrint().  The 32-bit RISC-V (RV32) version.

 Thanks for this update, however...

> diff --git a/sysdeps/riscv/rv32/rvd/s_lround.c b/sysdeps/riscv/rv32/rvd/s_lround.c
> new file mode 100644
> index 0000000000..51cb020e48
> --- /dev/null
> +++ b/sysdeps/riscv/rv32/rvd/s_lround.c
> @@ -0,0 +1,31 @@
> +/* lround().  RISC-V version.

... it also has to come here, ...

> diff --git a/sysdeps/riscv/rv32/rvf/s_lrintf.c b/sysdeps/riscv/rv32/rvf/s_lrintf.c
> new file mode 100644
> index 0000000000..e9aee00cab
> --- /dev/null
> +++ b/sysdeps/riscv/rv32/rvf/s_lrintf.c
> @@ -0,0 +1,31 @@
> +/* lrintf().  RISC-V version.

... and here, ...

> diff --git a/sysdeps/riscv/rv32/rvf/s_lroundf.c b/sysdeps/riscv/rv32/rvf/s_lroundf.c
> new file mode 100644
> index 0000000000..3b5ca73a5e
> --- /dev/null
> +++ b/sysdeps/riscv/rv32/rvf/s_lroundf.c
> @@ -0,0 +1,31 @@
> +/* lroundf().  RISC-V version.

... and here.

  Maciej


More information about the Libc-alpha mailing list