PR target/54680
authorolegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Oct 2012 23:19:27 +0000 (23:19 +0000)
committerolegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Oct 2012 23:19:27 +0000 (23:19 +0000)
commit14c9d678123dc1e87b0256a097f0c5127f0d0b1e
tree588096527984a2541e06ca104cf1d8b8068f2b5d
parenta934d302f1121c95432a507b77df1fc600e4be12
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192416 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/sh/predicates.md
gcc/config/sh/sh.c
gcc/config/sh/sh.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/sh/pr54680.c [new file with mode: 0644]