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, SH4] Fix PR58475 insn swapb does not satisfy its constraints


Christian Bruel <christian.bruel@st.com> wrote:
> This patch fixes the aforementioned PR by refusing FPUL_REG to be an
> acceptable reg for any arithmetic_operand on TARGET_SH4. (This was a
> strange SH4 singularity with regards to the SH family).
> 
> The only impacted insn is movsf_ie used for reg-fpreg transfers. So the
> condition now mentions explicitly fpul_operand, allowing to simplify a
> bit the logic to match by removing the extra checks.
> 
> The testsuite survived (no regression) for 
> -m2,-m2a,-m2a-nofpu,-m2a-single,-m2a-single-only,-m3,-m3e,-m4,-m4-single,-m4-single-only,-m4a,-m4a-single,-m4a-single-only
> 
> No performance impact on a large number of benchmarks (CSIBE, EEMBC,
> Coremark, ...)
> 
> sh4-linux-elf survived a full Linux distribution rebuild
> 
> OK for trunk?

OK.

Regards,
	kaz


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