aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/spe.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b5b90cd..3147843b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-30 Mark Mitchell <mark@codesourcery.com>
+
+ * config/rs6000/spe.h (__ev_set_spefscr_frmc): Set the flag.
+
2003-06-30 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/lib1funcs.asm: Use "xtensa-config.h" from
diff --git a/gcc/config/rs6000/spe.h b/gcc/config/rs6000/spe.h
index f26d847..c469fad 100644
--- a/gcc/config/rs6000/spe.h
+++ b/gcc/config/rs6000/spe.h
@@ -1086,6 +1086,7 @@ __ev_set_spefscr_frmc (int rnd)
i = __builtin_spe_mfspefscr ();
i &= ~__SPEFSCR_FRMC;
i |= rnd;
+ __builtin_spe_mtspefscr (i);
}
#endif /* _SPE_H */