spe.h (__ev_set_spefscr_frmc): Set the flag.
authorMark Mitchell <mark@codesourcery.com>
Tue, 1 Jul 2003 01:11:53 +0000 (01:11 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 1 Jul 2003 01:11:53 +0000 (01:11 +0000)
* config/rs6000/spe.h (__ev_set_spefscr_frmc): Set the flag.

[[Split portion of a mixed commit.]]

From-SVN: r68751.2

gcc/ChangeLog
gcc/config/rs6000/spe.h

index b5b90cd..3147843 100644 (file)
@@ -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
index f26d847..c469fad 100644 (file)
@@ -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 */