Add TImode calculation
Richard Henderson
rth@redhat.com
Thu Dec 20 19:24:00 GMT 2001
On Mon, Dec 03, 2001 at 02:54:53PM +0100, Bo Thorsen wrote:
> * config/i386/i386.md: Add TImode addition and subtraction for
> x86-64.
Ok.
> +(define_insn "*addti3_1"
> + [(set (match_operand:TI 0 "nonimmediate_operand" "=r,o")
> + (plus:TI (match_operand:TI 1 "nonimmediate_operand" "%0,0")
> + (match_operand:TI 2 "general_operand" "roi,ri")))
> + (clobber (reg:CC 17))]
> + "TARGET_64BIT && ix86_binary_operator_ok (PLUS, TImode, operands)"
> + "#")
> +
> +(define_split
> + [(set (match_operand:TI 0 "nonimmediate_operand" "")
> + (plus:TI (match_operand:TI 1 "nonimmediate_operand" "")
> + (match_operand:TI 2 "general_operand" "")))
> + (clobber (reg:CC 17))]
> + "reload_completed && TARGET_64BIT"
Prefer define_insn_and_split.
r~
More information about the Gcc-patches
mailing list