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] fix hardreg_cprop to honor HARD_REGNO_MODE_OK.


On 08/11/14 07:49, Ilya Tocar wrote:
Hi,

I've observed SPEC2006 failure on avx512-vlbwdq branch.
It was caused by  hardreg_cprop. In maybe_mode_change it was
assumed, that all values of the same register class and same mode.
are ok. This is not the case for i386/avx512. We need to honor
HARD_REGNO_MODE_OK.
Patch bellow does it.
Ok for trunk?

2014-08-11  Ilya Tocar  <ilya.tocar@intel.com>

	* regcprop.c (maybe_mode_change): Honor HARD_REGNO_MODE_OK.
One could argue that having a class where some members are OK for being used in a particular mode, but other members are not is the core issue here.

Can you describe a bit about why you've got a class of that nature? Background on that would be useful.

jeff


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