* config/sparc/sparc-protos.h (sparc_emit_floatunsdi): Add 'mode'.
commit520b7351be5faa46c4df91b47eaa7bf9196a6aef
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Feb 2004 18:40:41 +0000 (26 18:40 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Feb 2004 18:40:41 +0000 (26 18:40 +0000)
treed6f5e3147f395bd8303240d39b62e901c7e3b6d4
parentde3e491104d05f5d2f76076eef9d21163185c90a
* config/sparc/sparc-protos.h (sparc_emit_floatunsdi): Add 'mode'.
(sparc_emit_fixunsdi): New prototype.
* config/sparc/sparc.c (sparc_emit_floatunsdi): Use 'mode' argument.
(sparc_emit_fixunsdi): New function.
* config/sparc/sparc.md (floatunsdisf2): Use 'general_operand' for
operand 1.  Pass SFmode to sparc_emit_floatunsdi.
(floatunsdidf2): Use 'general_operand' for operand 1.  Pass DFmode
to sparc_emit_floatunsdi.
(fixuns_truncsfdi2): New expander.
(fixuns_truncdfdi2): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78511 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/sparc/sparc-protos.h
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/fixuns-trunc-1.c [new file with mode: 0644]