diff options
author | Mihailo Stojanovic <mistojanovic@wavecomp.com> | 2019-10-28 19:10:42 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2019-10-28 13:10:42 -0600 |
commit | ea9d5cc80e39746e237dc5281e9492a080d238f4 (patch) | |
tree | 2c03ff294fc17766c68e8faac8adab186393f912 /libcpp | |
parent | 18e2ca55d452f95bbd3739f86bad2490726ee378 (diff) | |
download | gcc-ea9d5cc80e39746e237dc5281e9492a080d238f4.zip gcc-ea9d5cc80e39746e237dc5281e9492a080d238f4.tar.gz gcc-ea9d5cc80e39746e237dc5281e9492a080d238f4.tar.bz2 |
mips.c (DIRECT_BUILTIN_PURE): New macro.
* config/mips/mips.c (DIRECT_BUILTIN_PURE): New macro. Add a
pure qualifier to the built-in.
(MSA_BUILTIN_PURE): New macro. Add a pure qualifier to the MSA
built-ins.
(struct mips_builtin_description): Add is_pure flag.
(mips_init_builtins): Mark built-in as pure if the flag in the
corresponding mips_builtin_description struct is set.
* gcc.target/mips/mips-builtins-pure.c: New test.
From-SVN: r277534
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions