+2015-05-06 Alan Modra <amodra@gmail.com>
+
+ PR target/66033
+ * config/rs6000/rs6000.md (nop): Use an unspec pattern.
+ (UNSPEC_NOP): Define.
+ (reload_vsx_from_gpr<mode>): Add missing DONE.
+ (reload_gpr_from_vsx<mode>): Likewise.
+ * config/rs6000/vsx.md (vsx_mul_v2di): Likewise.
+ (vsx_div_v2di, vsx_udiv_v2di): Likewise.
+
2015-05-06 Christian Bruel <christian.bruel@st.com>
PR target/66015
UNSPEC_LFIWAX
UNSPEC_LFIWZX
UNSPEC_FCTIWUZ
+ UNSPEC_NOP
UNSPEC_GRP_END_NOP
UNSPEC_P8V_FMRGOW
UNSPEC_P8V_MTVSRWZ
emit_insn (gen_p8_mtvsrd_1 (tmp, gpr_hi_reg));
emit_insn (gen_p8_mtvsrd_2 (tmp, gpr_lo_reg));
emit_insn (gen_p8_xxpermdi_<mode> (dest, tmp));
+ DONE;
}
[(set_attr "length" "12")
(set_attr "type" "three")])
emit_insn (gen_p8_mfvsrd_3_<mode> (gpr_hi_reg, src));
emit_insn (gen_vsx_xxpermdi_<mode> (tmp, src, src, GEN_INT (3)));
emit_insn (gen_p8_mfvsrd_3_<mode> (gpr_lo_reg, tmp));
+ DONE;
}
[(set_attr "length" "12")
(set_attr "type" "three")])
[(set_attr "type" "jmpreg")])
(define_insn "nop"
- [(const_int 0)]
+ [(unspec [(const_int 0)] UNSPEC_NOP)]
""
"nop")
emit_insn (gen_vsx_extract_v2di (op4, op2, GEN_INT (1)));
emit_insn (gen_muldi3 (op3, op3, op4));
emit_insn (gen_vsx_concat_v2di (op0, op5, op3));
+ DONE;
}"
[(set_attr "type" "mul")])
emit_insn (gen_vsx_extract_v2di (op4, op2, GEN_INT (1)));
emit_insn (gen_divdi3 (op3, op3, op4));
emit_insn (gen_vsx_concat_v2di (op0, op5, op3));
+ DONE;
}"
[(set_attr "type" "div")])
emit_insn (gen_vsx_extract_v2di (op4, op2, GEN_INT (1)));
emit_insn (gen_udivdi3 (op3, op3, op4));
emit_insn (gen_vsx_concat_v2di (op0, op5, op3));
+ DONE;
}"
[(set_attr "type" "div")])