public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/ibm/heads/gcc-9)] backport: rs6000.md (rs6000_set_fpscr_drn): Use ULL on big hexadecimal literal.
@ 2020-02-04 20:58 Peter Bergner
  0 siblings, 0 replies; only message in thread
From: Peter Bergner @ 2020-02-04 20:58 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:02955765b7f2d1106466275cdb9a90c12583e1cb

commit 02955765b7f2d1106466275cdb9a90c12583e1cb
Author: Segher Boessenkool <segher@kernel.crashing.org>
Date:   Mon Nov 18 20:29:03 2019 +0100

    backport: rs6000.md (rs6000_set_fpscr_drn): Use ULL on big hexadecimal literal.
    
    	Backport from trunk
    	2019-11-12  Segher Boessenkool  <segher@kernel.crashing.org>
    
    	* config/rs6000/rs6000.md (rs6000_set_fpscr_drn): Use ULL on big
    	hexadecimal literal.
    
    From-SVN: r278420

Diff:
---
 gcc/ChangeLog               | 8 ++++++++
 gcc/config/rs6000/rs6000.md | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4402ca1..218c5e3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2019-11-18  Segher Boessenkool  <segher@kernel.crashing.org>
+
+	Backport from trunk
+	2019-11-12  Segher Boessenkool  <segher@kernel.crashing.org>
+
+	* config/rs6000/rs6000.md (rs6000_set_fpscr_drn): Use ULL on big
+	hexadecimal literal.
+
 2019-11-15  Tamar Christina  <tamar.christina@arm.com>
 
 	Backport from mainline
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index b3469a1..7bfa5eea 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -5936,7 +5936,7 @@
       /* Insert new RN mode into FSCPR.  */
       emit_insn (gen_rs6000_mffs (tmp_df));
       tmp_di = simplify_gen_subreg (DImode, tmp_df, DFmode, 0);
-      emit_insn (gen_anddi3 (tmp_di, tmp_di, GEN_INT (0xFFFFFFF8FFFFFFFF)));
+      emit_insn (gen_anddi3 (tmp_di, tmp_di, GEN_INT (0xFFFFFFF8FFFFFFFFULL)));
       emit_insn (gen_iordi3 (tmp_di, tmp_di, tmp_rn));
 
       /* Need to write to field 7.  The fields are [0:15].  The equation to


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-04 20:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-04 20:58 [gcc(refs/vendors/ibm/heads/gcc-9)] backport: rs6000.md (rs6000_set_fpscr_drn): Use ULL on big hexadecimal literal Peter Bergner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).