This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch to split x86 movdi


On Sat, Apr 10, 1999 at 08:21:05PM -0400, John Wehle wrote:
> + (define_split
> +   [(set (match_operand:DI 0 "nonimmediate_operand" "")
> + 	(match_operand:DI 1 "nonimmediate_operand" ""))]
> +  "reload_completed && ! reg_overlap_mentioned_p (operands[0], operands[1])"
> +  [(set (match_dup 2)
> +        (match_dup 4))
> +   (set (match_dup 3)
> +        (match_dup 5))]
> +   "split_di (&operands[0], 1, &operands[2], &operands[3]);
> +    split_di (&operands[1], 1, &operands[4], &operands[5]);")

We should be able to trivially handle overlapped register
pairs as well, no?


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]