This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: PATCH: Add reg_mentioned_by_mem_p and reg_dep_by_addr_p
- From: "Ye, Joey" <joey dot ye at intel dot com>
- To: Richard Guenther <richard dot guenther at gmail dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "Guo, Xuepeng" <xuepeng dot guo at intel dot com>
- Date: Mon, 30 Mar 2009 11:35:57 +0800
- Subject: RE: PATCH: Add reg_mentioned_by_mem_p and reg_dep_by_addr_p
- References: <20090329193306.GA11402@lucon.org> <84fc9c000903291255s6aec2f64xb063c6fd1c98010e@mail.gmail.com>
Joey Ye wrote:
> This function maybe used in two places: one in instruction splite,
> another in instruction scheduling. I'm not sure if DF is available at
> both places. Also, this function only need to check if two given insns
> has memory dependence relation. Do you think the way
> reg_dep_by_addr_p currently use will make any mistake?
Please ignore previous comments. reg_dep_by_addr_p should have
been obsleted. It has been replaced by ix86_agi_dependent.
I'll send a patch later removing reg_dep_by_addr_p and addressing
Steven's comments.
Thanks - Joey