Skip to content
Snippets Groups Projects
Commit db292b0e authored by Oleg Endo's avatar Oleg Endo
Browse files

re PR target/54680 ([SH] Unnecessary int-float-int conversion of fsca fixed point input)

	PR target/54680
	* config/sh/sh.c (sh_fsca_sf2int, sh_fsca_int2sf): Fix swapped
	comments.
	* config/sh/predicates.md (fpul_operand): Add comment.
	(fpul_fsca_operand, fsca_scale_factor): New predicates.
	* config/sh/sh.md (fsca): Move below sincossf3 expander.  Convert to
	insn_and_split.  Use fpul_fsca_operand and fsca_scale_factor predicates.
	Simplify fpul operand in splitter.

	PR target/54680
	* gcc.target/sh/pr54680.c: New.

From-SVN: r192416
parent 535269f4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment