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]
Other format: [Raw text]

Re: [PATCH, PR61446] Fix mode for register copy in REE pass


On 06/10/14 01:42, Ilya Enkovich wrote:
Hi,

This patch fixes PR61446.  The problem appears when we insert value copies after transformations. We use the widest extension mode met in a chain, but it may be wider than original destination register size.  This patch checks it and use smaller mode if required.

Bootstrapped and tested on linux-x86_64.

Does it look OK?

Thanks,
Ilya
--
2014-06-09  Ilya Enkovich  <ilya.enkovich@intel.com>

	PR 61446
	* ree.c (find_and_remove_re): Narrow mode for register copy
	if required.
That seems wrong. Something should have rejected this earlier. Let me take a looksie.


jeff


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