Commit f8ae8963 by Segher Boessenkool Committed by Segher Boessenkool

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
parent 5c44cef5
2019-11-12 Segher Boessenkool <segher@kernel.crashing.org> 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-12 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/vsx.md (xscmpexpdp_<code> for CMP_TEST): Handle * config/rs6000/vsx.md (xscmpexpdp_<code> for CMP_TEST): Handle
UNORDERED if !HONOR_NANS (DFmode). UNORDERED if !HONOR_NANS (DFmode).
(xscmpexpqp_<code>_<mode> for CMP_TEST and IEEE128): Handle UNORDERED (xscmpexpqp_<code>_<mode> for CMP_TEST and IEEE128): Handle UNORDERED
...@@ -6008,7 +6008,7 @@ ...@@ -6008,7 +6008,7 @@
/* Insert new RN mode into FSCPR. */ /* Insert new RN mode into FSCPR. */
emit_insn (gen_rs6000_mffs (tmp_df)); emit_insn (gen_rs6000_mffs (tmp_df));
tmp_di = simplify_gen_subreg (DImode, tmp_df, DFmode, 0); 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)); emit_insn (gen_iordi3 (tmp_di, tmp_di, tmp_rn));
/* Need to write to field 7. The fields are [0:15]. The equation to /* Need to write to field 7. The fields are [0:15]. The equation to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment