* 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
Showing
- gcc/ChangeLog 13 additions, 0 deletionsgcc/ChangeLog
- gcc/config/sparc/sparc-protos.h 2 additions, 1 deletiongcc/config/sparc/sparc-protos.h
- gcc/config/sparc/sparc.c 42 additions, 3 deletionsgcc/config/sparc/sparc.c
- gcc/config/sparc/sparc.md 16 additions, 4 deletionsgcc/config/sparc/sparc.md
- gcc/testsuite/ChangeLog 4 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/fixuns-trunc-1.c 31 additions, 0 deletionsgcc/testsuite/gcc.dg/fixuns-trunc-1.c
Loading
Please register or sign in to comment