diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2014-02-02 16:05:09 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2014-02-02 16:05:09 +0000 |
commit | a90c02456f4655254477e00e338163ffab9bd97b (patch) | |
tree | d3981bb890af724a896cc670725869d13eb00984 /libgcc | |
parent | 6d51cc90102eddcc8b988b400a70b015e69b2274 (diff) | |
download | gcc-a90c02456f4655254477e00e338163ffab9bd97b.zip gcc-a90c02456f4655254477e00e338163ffab9bd97b.tar.gz gcc-a90c02456f4655254477e00e338163ffab9bd97b.tar.bz2 |
extend.texi (__builtin_mips_get_fcsr): Document.
gcc/
* doc/extend.texi (__builtin_mips_get_fcsr): Document.
(__builtin_mips_set_fcsr): Likewise.
* config/mips/mips-ftypes.def: Add MIPS_VOID_FTYPE_USI and
MIPS_USI_FTYPE_VOID.
* config/mips/mips-protos.h (mips16_expand_get_fcsr): Declare
(mips16_expand_set_fcsr): Likewise.
* config/mips/mips.c (mips16_get_fcsr_stub): New variable.
(mips16_set_fcsr_stub): Likewise.
(mips16_get_fcsr_one_only_stub): New class.
(mips16_set_fcsr_one_only_stub): Likewise.
(mips16_expand_get_fcsr, mips16_expand_set_fcsr): New functions.
(mips_code_end): Output the get_fcsr and set_fcsr stubs, if needed.
(BUILTIN_AVAIL_MIPS16, AVAIL_ALL): New macros.
(hard_float): New availability predicate.
(mips_builtins): Add get_fcsr and set_fcsr.
(mips_expand_builtin): Check BUILTIN_AVAIL_MIPS16.
* config/mips/mips.md (UNSPEC_GET_FCSR, UNSPEC_SET_FCSR): New unspecs.
(GET_FCSR_REGNUM, SET_FCSR_REGNUM): New constants.
(mips_get_fcsr, *mips_get_fcsr, mips_get_fcsr_mips16_<mode>)
(mips_set_fcsr, *mips_set_fcsr, mips_set_fcsr_mips16_<mode>): New
patterns.
gcc/testsuite/
* gcc.target/mips/get-fcsr-1.c, gcc.target/mips/get-fcsr-2.c,
gcc.target/mips/set-fcsr-1.c, gcc.target/mips/set-fcsr-2.c: New tests.
From-SVN: r207401
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions