[PATCH] rs6000: Optimise SImode cstore on 64-bit

Alan Modra amodra@gmail.com
Wed Dec 2 03:20:00 GMT 2015


On Wed, Dec 02, 2015 at 01:55:17AM +0000, Segher Boessenkool wrote:
> +  emit_insn (gen_subdi3 (tmp, op1, op2));
> +  emit_insn (gen_lshrdi3 (tmp2, tmp, GEN_INT (63)));
> +  emit_insn (gen_anddi3 (tmp3, tmp2, const1_rtx));

Why the AND?  The top 63 bits are already clear.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Gcc-patches mailing list