aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2020-06-23 17:17:13 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2020-06-23 17:17:13 +0000
commitc4ef7cdb4d84a516f3b05d5396beb2fb2440102c (patch)
treec251dd880fd4b6ae743fcd4d1870a4044b0f29b1
parent9f7e5bdad1f350e68879e92c23601f0e3c2b3a3b (diff)
downloadsrc-c4ef7cdb4d84a516f3b05d5396beb2fb2440102c.tar.gz
src-c4ef7cdb4d84a516f3b05d5396beb2fb2440102c.zip
arch(7): small corrections for RISC-V
Document that RISC-V supports multiple page sizes: 4K, 2M, and 1G. RISC-V's long double is always 128-bits wide, therefore quad precision. Mention __riscv_float_abi_soft, which can be used to differentiate between riscv64 and riscv64sf in userland code. MFC after: 3 days
Notes
Notes: svn path=/head/; revision=362546
-rw-r--r--share/man/man7/arch.712
1 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man7/arch.7 b/share/man/man7/arch.7
index db6d4e7a787c..8da7b54cb8f7 100644
--- a/share/man/man7/arch.7
+++ b/share/man/man7/arch.7
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 28, 2020
+.Dd June 23, 2020
.Dt ARCH 7
.Os
.Sh NAME
@@ -256,8 +256,8 @@ is 8 bytes on all supported architectures except i386.
.It powerpc Ta 4K
.It powerpcspe Ta 4K
.It powerpc64 Ta 4K
-.It riscv64 Ta 4K
-.It riscv64sf Ta 4K
+.It riscv64 Ta 4K, 2M, 1G
+.It riscv64sf Ta 4K, 2M, 1G
.El
.Ss Floating Point
.Bl -column -offset indent "Architecture" "float, double" "long double"
@@ -279,8 +279,8 @@ is 8 bytes on all supported architectures except i386.
.It powerpc Ta hard Ta hard, double precision
.It powerpcspe Ta hard Ta hard, double precision
.It powerpc64 Ta hard Ta hard, double precision
-.It riscv64 Ta hard Ta hard, double precision
-.It riscv64sf Ta soft Ta soft, double precision
+.It riscv64 Ta hard Ta hard, quad precision
+.It riscv64sf Ta soft Ta soft, quad precision
.El
.Ss Default Tool Chain
.Fx
@@ -358,7 +358,7 @@ Architecture-specific macros:
.It powerpcspe Ta Dv __powerpc__, Dv __SPE__
.It powerpc64 Ta Dv __powerpc__, Dv __powerpc64__
.It riscv64 Ta Dv __riscv, Dv __riscv_xlen == 64
-.It riscv64sf Ta Dv __riscv, Dv __riscv_xlen == 64
+.It riscv64sf Ta Dv __riscv, Dv __riscv_xlen == 64, Dv __riscv_float_abi_soft
.El
.Pp
Compilers may define additional variants of architecture-specific macros.