diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2019-11-12 22:56:13 +0100 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2019-11-12 22:56:13 +0100 |
commit | f8ae8963b4762e202270493e5a65a00d18e36a3f (patch) | |
tree | 319ced2121a0bac4dbab646058e5f52a9ec62afa /gcc/config | |
parent | 5c44cef5f5610e48cce17e8d085636c18f308363 (diff) | |
download | gcc-f8ae8963b4762e202270493e5a65a00d18e36a3f.zip gcc-f8ae8963b4762e202270493e5a65a00d18e36a3f.tar.gz gcc-f8ae8963b4762e202270493e5a65a00d18e36a3f.tar.bz2 |
rs6000: Use ULL on big hexadecimal literal
C++98 does not have long long int, and does not use (unsigned) long
long int for hexadecimal literals. So let's use an ULL suffix here,
which is still not strict C++98, but which works with more compilers.
* config/rs6000/rs6000.md (rs6000_set_fpscr_drn): Use ULL on big
hexadecimal literal.
From-SVN: r278107
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/rs6000/rs6000.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index cbfe38b..040fc88 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -6008,7 +6008,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 |