home *** CD-ROM | disk | FTP | other *** search
-
-
-
- - 1 -
-
-
-
- 7.3 ANSI C Release Notes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - 2 -
-
-
-
- 4. _N_e_w__F_e_a_t_u_r_e_s
-
- This chapter lists the new C features for the
- MIPSpro 7.3 release.
-
-
-
- 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
-
-
- The -ipa option invokes the Interprocedural
- Analyzer option group. This is a new alias for
- -IPA:=ON. Compiling with the -ipa and -pca
- options together instructs the compiler to
- perform interprocedural parallelization. The
- compiler applies a sophisticated analysis to
- determine when it can parallelize loops with
- calls.
-
-
- 4.2 _L_i_s_t_i_n_g__C_o_n_t_r_o_l
-
- The -clist option invokes the listing control
- group. This is equivalent to -CLIST:=ON.
-
- The emit_omp=_f_l_a_g suboption to the -CLIST option
- directs the compiler to use OpenMP(TM)
- directives (_f_l_a_g=ON) or MIPS(TM) multiprocessing
- directives (_f_l_a_g=OFF).
-
-
-
- 4.3 _N_e_w__-_O_P_T__S_u_b_o_p_t_i_o_n
-
- The speculative_ptr_deref={ON/OFF} suboption to
- the -OPT compiler option allows speculative
- loads of memory locations that differ by a small
- offset from some referenced memory location.
- For more information, see the opt(5) man page.
-
-
- 4.4 _N_e_w__-_T_E_N_V__S_u_b_o_p_t_i_o_n
-
- The large_got=ON/OFF suboption to the -TENV
- compiler option replaces the -avoid_gp_overflow
- and the -xgot options.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - 3 -
-
-
-
- 4.5 _N_e_w__#_p_r_a_g_m_a
-
- The unknown_control_flow (_f_u_n_c_1 [, _f_u_n_c_2 ...])
- #pragma indicates that the procedures listed as
- _f_u_n_c_1 and _f_u_n_c_2, etc. have a nonstandard control
- flow behavior.
-
-
-
- 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
- _M_u_l_t_i_p_r_o_c_e_s_s_i_n_g
-
- These directives are based on the OpenMP C/C++
- Application Program Interface (API) standard.
- Programs that use these directives are portable
- and can be compiled by other compilers that
- support the OpenMP standard.
-
- To enable recognition of the OpenMP directives,
- specify -mp on the cc or CC command line.
- Details of these directives are documented in
- the _M_I_P_S_p_r_o _C _a_n_d _C++ _P_r_a_g_m_a_s manual.
-
-
- 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
-
- The -LNO:pure={_f_l_a_g} option tells the compiler
- how to use the "no side effects" and "pure"
- pragmas when gathering information about calls
- for parallelization analysis.
-
- C language multiprocessor programs are now
- supported by ProDev ProMP graphical user
- interface. (ProDev ProMP was formerly known as
- WorkShop Pro MPF.) Among other things, ProDev
- ProMP lets you see the transformed source
- alongside the original program source code.
-
-
-
-
-
- 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
-
- The MIPSpro 7.3 release supports the
- Supercomputing Application Programming Interface
- (API), a set of language features and library
- functions that are implemented across the
- Silicon Graphics and Cray(TM) product line to
- meet the application portability needs of high-
- performance, technical computing customers. For
-
-
-
-
-
-
-
-
-
-
-
- - 4 -
-
-
-
- more information, see the online Supercomputing
- API document at the following URL:
-
- http:/www.sgi.com/software/scapi.html
-
-
-
- 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
-
- The target option group has the following new
- controls:
-
- dismiss_mem_faults=_f_l_a_g Forces the kernel to
- dismiss memory faults
- that occur during
- execution.
-
- 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
- _s_e_t _o_f _I_E_E_E-_7_5_4
- _f_l_o_a_t_i_n_g _p_o_i_n_t
- _e_x_c_e_p_t_i_o_n_s _f_o_r _w_h_i_c_h
- _t_r_a_p_s _c_a_n _b_e _e_n_a_b_l_e_d _a_t
- _r_u_n _t_i_m_e.
-
- _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
- _s_e_t _o_f _I_E_E_E-_7_5_4
- _f_l_o_a_t_i_n_g _p_o_i_n_t
- _e_x_c_e_p_t_i_o_n_s _f_o_r _w_h_i_c_h
- _t_r_a_p_s _m_u_s_t _b_e _e_n_a_b_l_e_d
- _a_t _r_u_n _t_i_m_e.
-
- _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
- _i_n_s_t_r_u_c_t_i_o_n _s_e_t
- _a_r_c_h_i_t_e_c_t_u_r_e _f_o_r
- _c_o_m_p_i_l_a_t_i_o_n.
-
- _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
- _u_s_e _o_f _S_Y_N_C
- _i_n_s_t_r_u_c_t_i_o_n_s.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-