home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3c / fpgetmask.z / fpgetmask
Encoding:
Text File  |  1998-10-20  |  6.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ffffppppggggeeeettttmmmmaaaasssskkkk((((3333CCCC))))                                                    ffffppppggggeeeettttmmmmaaaasssskkkk((((3333CCCC))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      fpgetmask, fpgetround, fpgetsticky, fpsetmask, fpsetround, fpsetsticky -
  10.      fetch/set subfields of floating-point control status register of MIPS
  11.      floating-point units
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_iiii_eeee_eeee_eeee_ffff_pppp_...._hhhh_>>>>
  15.  
  16.      _####_dddd_eeee_ffff_iiii_nnnn_eeee _ffff_pppp______eeee_xxxx_cccc_eeee_pppp_tttt       _iiii_nnnn_tttt
  17.  
  18.      _tttt_yyyy_pppp_eeee_dddd_eeee_ffff _eeee_nnnn_uuuu_mmmm    _ffff_pppp______rrrr_nnnn_dddd _{{{{
  19.          _FFFF_PPPP______RRRR_NNNN _==== _0000_,,,,  _////_**** _rrrr_oooo_uuuu_nnnn_dddd _tttt_oooo _nnnn_eeee_aaaa_rrrr_eeee_ssss_tttt _rrrr_eeee_pppp_rrrr_eeee_ssss_eeee_nnnn_tttt_aaaa_bbbb_llll_eeee _nnnn_uuuu_mmmm_bbbb_eeee_rrrr_,,,,
  20.                         _tttt_iiii_eeee _----_>>>> _eeee_vvvv_eeee_nnnn _****_////
  21.          _FFFF_PPPP______RRRR_ZZZZ _==== _1111_,,,,  _////_**** _rrrr_oooo_uuuu_nnnn_dddd _tttt_oooo_wwww_aaaa_rrrr_dddd _zzzz_eeee_rrrr_oooo _((((_tttt_rrrr_uuuu_nnnn_cccc_aaaa_tttt_eeee_)))) _****_////
  22.          _FFFF_PPPP______RRRR_PPPP _==== _2222_,,,,  _////_**** _rrrr_oooo_uuuu_nnnn_dddd _tttt_oooo_wwww_aaaa_rrrr_dddd _pppp_llll_uuuu_ssss _iiii_nnnn_ffff_iiii_nnnn_iiii_tttt_yyyy   _****_////
  23.          _FFFF_PPPP______RRRR_MMMM _==== _3333   _////_**** _rrrr_oooo_uuuu_nnnn_dddd _tttt_oooo_wwww_aaaa_rrrr_dddd _mmmm_iiii_nnnn_uuuu_ssss _iiii_nnnn_ffff_iiii_nnnn_iiii_tttt_yyyy  _****_////
  24.          _}}}} _ffff_pppp______rrrr_nnnn_dddd_;;;;
  25.  
  26.      _ffff_pppp______eeee_xxxx_cccc_eeee_pppp_tttt _ffff_pppp_gggg_eeee_tttt_mmmm_aaaa_ssss_kkkk_((((_vvvv_oooo_iiii_dddd_))))_;;;;
  27.  
  28.      _ffff_pppp______rrrr_nnnn_dddd    _ffff_pppp_gggg_eeee_tttt_rrrr_oooo_uuuu_nnnn_dddd_((((_vvvv_oooo_iiii_dddd_))))_;;;;
  29.  
  30.      _ffff_pppp______eeee_xxxx_cccc_eeee_pppp_tttt _ffff_pppp_gggg_eeee_tttt_ssss_tttt_iiii_cccc_kkkk_yyyy_((((_vvvv_oooo_iiii_dddd_))))_;;;;
  31.  
  32.      _ffff_pppp______eeee_xxxx_cccc_eeee_pppp_tttt _ffff_pppp_ssss_eeee_tttt_mmmm_aaaa_ssss_kkkk_((((_ffff_pppp______eeee_xxxx_cccc_eeee_pppp_tttt_))))_;;;;
  33.  
  34.      _ffff_pppp______rrrr_nnnn_dddd    _ffff_pppp_ssss_eeee_tttt_rrrr_oooo_uuuu_nnnn_dddd_((((_ffff_pppp______rrrr_nnnn_dddd_))))_;;;;
  35.  
  36.      _ffff_pppp______eeee_xxxx_cccc_eeee_pppp_tttt _ffff_pppp_ssss_eeee_tttt_ssss_tttt_iiii_cccc_kkkk_yyyy_((((_ffff_pppp______eeee_xxxx_cccc_eeee_pppp_tttt_))))_;;;;
  37.  
  38. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  39.      These routines fetch/set various subfields of the floating-
  40.      point control status register of the floating-point unit.
  41.  
  42.      _ffff_pppp_gggg_eeee_tttt_mmmm_aaaa_ssss_kkkk returns the current exception mask.
  43.  
  44.      _ffff_pppp_gggg_eeee_tttt_rrrr_oooo_uuuu_nnnn_dddd returns the current rounding mode.
  45.  
  46.      _ffff_pppp_gggg_eeee_tttt_ssss_tttt_iiii_cccc_kkkk_yyyy returns the logged exceptions.
  47.  
  48.      _ffff_pppp_ssss_eeee_tttt_mmmm_aaaa_ssss_kkkk sets the exception mask, returning the previous
  49.      exception mask.  Any sticky bit whose corresponding mask bit is being
  50.      enabled is cleared.
  51.  
  52.      _ffff_pppp_ssss_eeee_tttt_rrrr_oooo_uuuu_nnnn_dddd sets the rounding mode, returning the previous
  53.      rounding mode.
  54.  
  55.      _ffff_pppp_ssss_eeee_tttt_ssss_tttt_iiii_cccc_kkkk_yyyy sets the logged exceptions, returning the previous logged
  56.      exceptions.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ffffppppggggeeeettttmmmmaaaasssskkkk((((3333CCCC))))                                                    ffffppppggggeeeettttmmmmaaaasssskkkk((((3333CCCC))))
  71.  
  72.  
  73.  
  74. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  75.      _ffff_pppp_cccc(3C), _ssss_iiii_gggg_ffff_pppp_eeee(3C)
  76.      R4000 Microprocessor User's Manual
  77.  
  78. NNNNOOOOTTTTEEEESSSS
  79.      All of these routines take and/or return their values right justified.
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.