home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / relnotes / c_dev / ch4.z / ch4
Encoding:
Text File  |  2002-10-08  |  7.0 KB  |  264 lines

  1.  
  2.  
  3.  
  4.                                                - 1 -
  5.  
  6.  
  7.  
  8.                     7.3 ANSI C Release Notes
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.                                                - 2 -
  69.  
  70.  
  71.  
  72.                     4.  _N_e_w__F_e_a_t_u_r_e_s
  73.  
  74.                     This chapter lists the new C features for the
  75.                     MIPSpro 7.3 release.
  76.  
  77.  
  78.  
  79.                     4.1  _I_n_t_e_r_p_r_o_c_e_d_u_r_a_l__P_a_r_a_l_l_e_l_i_z_a_t_i_o_n
  80.  
  81.  
  82.                     The -ipa option invokes the Interprocedural
  83.                     Analyzer option group.  This is a new alias for
  84.                     -IPA:=ON.  Compiling with the -ipa and -pca
  85.                     options together instructs the compiler to
  86.                     perform interprocedural parallelization.  The
  87.                     compiler applies a sophisticated analysis to
  88.                     determine when it can parallelize loops with
  89.                     calls.
  90.  
  91.  
  92.                     4.2  _L_i_s_t_i_n_g__C_o_n_t_r_o_l
  93.  
  94.                     The -clist option invokes the listing control
  95.                     group.  This is equivalent to -CLIST:=ON.
  96.  
  97.                     The emit_omp=_f_l_a_g suboption to the -CLIST option
  98.                     directs the compiler to use OpenMP(TM)
  99.                     directives (_f_l_a_g=ON) or MIPS(TM) multiprocessing
  100.                     directives (_f_l_a_g=OFF).
  101.  
  102.  
  103.  
  104.                     4.3  _N_e_w__-_O_P_T__S_u_b_o_p_t_i_o_n
  105.  
  106.                     The speculative_ptr_deref={ON/OFF} suboption to
  107.                     the -OPT compiler option allows speculative
  108.                     loads of memory locations that differ by a small
  109.                     offset from some referenced memory location.
  110.                     For more information, see the opt(5) man page.
  111.  
  112.  
  113.                     4.4  _N_e_w__-_T_E_N_V__S_u_b_o_p_t_i_o_n
  114.  
  115.                     The large_got=ON/OFF suboption to the -TENV
  116.                     compiler option replaces the -avoid_gp_overflow
  117.                     and the -xgot options.
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.                                                - 3 -
  135.  
  136.  
  137.  
  138.                     4.5  _N_e_w__#_p_r_a_g_m_a
  139.  
  140.                     The unknown_control_flow (_f_u_n_c_1 [, _f_u_n_c_2 ...])
  141.                     #pragma indicates that the procedures listed as
  142.                     _f_u_n_c_1 and _f_u_n_c_2, etc. have a nonstandard control
  143.                     flow behavior.
  144.  
  145.  
  146.  
  147.                     4.6  _O_p_e_n_M_P _D_i_r_e_c_t_i_v_e_s _f_o_r _S_h_a_r_e_d _M_e_m_o_r_y
  148.                          _M_u_l_t_i_p_r_o_c_e_s_s_i_n_g
  149.  
  150.                     These directives are based on the OpenMP C/C++
  151.                     Application Program Interface (API) standard.
  152.                     Programs that use these directives are portable
  153.                     and can be compiled by other compilers that
  154.                     support the OpenMP standard.
  155.  
  156.                     To enable recognition of the OpenMP directives,
  157.                     specify -mp on the cc or CC command line.
  158.                     Details of these directives are documented in
  159.                     the _M_I_P_S_p_r_o _C _a_n_d _C++ _P_r_a_g_m_a_s manual.
  160.  
  161.  
  162.                     4.7  _P_a_r_a_l_l_e_l_i_z_a_t_i_o_n__A_n_a_l_y_s_i_s
  163.  
  164.                     The -LNO:pure={_f_l_a_g} option tells the compiler
  165.                     how to use the "no side effects" and "pure"
  166.                     pragmas when gathering information about calls
  167.                     for parallelization analysis.
  168.  
  169.                     C language multiprocessor programs are now
  170.                     supported by ProDev ProMP graphical user
  171.                     interface.  (ProDev ProMP was formerly known as
  172.                     WorkShop Pro MPF.)  Among other things, ProDev
  173.                     ProMP lets you see the transformed source
  174.                     alongside the original program source code.
  175.  
  176.  
  177.  
  178.  
  179.  
  180.                     4.8  _S_u_p_e_r_c_o_m_p_u_t_i_n_g__A_P_I__S_u_p_p_o_r_t
  181.  
  182.                     The MIPSpro 7.3 release supports the
  183.                     Supercomputing Application Programming Interface
  184.                     (API), a set of language features and library
  185.                     functions that are implemented across the
  186.                     Silicon Graphics and Cray(TM) product line to
  187.                     meet the application portability needs of high-
  188.                     performance, technical computing customers.  For
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.                                                - 4 -
  201.  
  202.  
  203.  
  204.                     more information, see the online Supercomputing
  205.                     API document at the following URL:
  206.  
  207.                     http:/www.sgi.com/software/scapi.html
  208.  
  209.  
  210.  
  211.                     4.9  _T_a_r_g_e_t__O_p_t_i_o_n__G_r_o_u_p__C_o_n_t_r_o_l_s
  212.  
  213.                     The target option group has the following new
  214.                     controls:
  215.  
  216.                     dismiss_mem_faults=_f_l_a_g  Forces the kernel to
  217.                                              dismiss memory faults
  218.                                              that occur during
  219.                                              execution.
  220.  
  221.                     exc_max=_v_a_l_u_e            _S_p_e_c_i_f_i_e_s _t_h_e _m_a_x_i_m_u_m
  222.                                              _s_e_t _o_f _I_E_E_E-_7_5_4
  223.                                              _f_l_o_a_t_i_n_g _p_o_i_n_t
  224.                                              _e_x_c_e_p_t_i_o_n_s _f_o_r _w_h_i_c_h
  225.                                              _t_r_a_p_s _c_a_n _b_e _e_n_a_b_l_e_d _a_t
  226.                                              _r_u_n _t_i_m_e.
  227.  
  228.                     _e_x_c__m_i_n=_v_a_l_u_e            _S_p_e_c_i_f_i_e_s _t_h_e _m_i_n_i_m_u_m
  229.                                              _s_e_t _o_f _I_E_E_E-_7_5_4
  230.                                              _f_l_o_a_t_i_n_g _p_o_i_n_t
  231.                                              _e_x_c_e_p_t_i_o_n_s _f_o_r _w_h_i_c_h
  232.                                              _t_r_a_p_s _m_u_s_t _b_e _e_n_a_b_l_e_d
  233.                                              _a_t _r_u_n _t_i_m_e.
  234.  
  235.                     _i_s_a=_v_a_l_u_e                _I_d_e_n_t_i_f_i_e_s _t_h_e _t_a_r_g_e_t
  236.                                              _i_n_s_t_r_u_c_t_i_o_n _s_e_t
  237.                                              _a_r_c_h_i_t_e_c_t_u_r_e _f_o_r
  238.                                              _c_o_m_p_i_l_a_t_i_o_n.
  239.  
  240.                     _s_y_n_c=_f_l_a_g                _E_n_a_b_l_e_s _o_r _d_i_s_a_b_l_e_s _t_h_e
  241.                                              _u_s_e _o_f _S_Y_N_C
  242.                                              _i_n_s_t_r_u_c_t_i_o_n_s.
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.