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]

[PATCH, ARM] PR58361 fix failure to conditionalize VFP instruction


PR target/58361 is a wrong code bug where we treat an instruction as
conditional but fail to put the conditional marker on the assembly.
Since the instruction can be correctly executed as a conditional
instruction, the fix is to enable that and to put out the condition code
accordingly.

The particular testcase doesn't trigger on 4.8 or trunk, but the bug is
still there so fixed on all three branches.  A slight variant of the
patch is needed for the release branches due to the changes that have
happened on trunk since the last release was made.  Both versions of the
patch are attached.

	PR target/58361
	* arm/vfp.md (combine_vcvt_f32_<FCVTI32typename>): Fix pattern to
	support conditional execution.
	(combine_vcvt_f64_<FCVTI32typename>): Likewise.

R.

Attachment: vfp-cvt.patch
Description: Text document

Attachment: vfp-cvt-4.7.patch
Description: Text document


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