⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fpc.3

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 3
字号:
.TH fpc 3 RISC.SH Namefpc, get_fpc_csr, set_fpc_csr, swapRM, swapINX \- floating-point control registers.SH Syntax.nf.B #include <mips/fpu.h>.PP.B int get_fpc_csr().PP.B int set_fpc_csr(\fIcsr\fP).B int \fIcsr\fP;.PP.B int get_fpc_irr().PP.B int swapRM(\fIx\fP).B int \fIx\fP;.PP.B int swapINX(\fIx\fP).B int \fIx\fP;.fi.SH DescriptionThese functions are to get and set the floating-point controlregisters of RISC floating-point units.  All of thesefunctions take and return their values as 32 bit integers..PPThe file .B <mips/fpu.h> contains unions for eachof the control registers. Each union contains a structurethat breaks out the bit fields into the logical parts foreach control register.  This file also contains constantsfor fields of the control registers..PPRISC floating-point implementations have acontrol and status register and an implementation revision register.  The control and status register is returned by .PN get_fpc_csr .The routine .PN set_fpc_csr sets the control and status register and returns the old value.  The implementation revisionregister is read-only and is returned by the routine.PN get_fpc_irr ..PPThe function .PN swapRM sets only the rounding mode and returns the old rounding mode.  The function .PN swapINX sets only the sticky inexact bit and returns the old one.  The bits in thearguments and return values to .PN swapRM and .PN swapINX are right justified.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -