diff options
author | Eric Christopher <echristo@gcc.gnu.org> | 2004-03-03 01:11:57 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gcc.gnu.org> | 2004-03-03 01:11:57 +0000 |
commit | 91e01231957fcefefd7c4de6abbbb023b3fb5da6 (patch) | |
tree | 9a3495c1a698a6e58bb529ad142f911e0fe0ba5a /gcc/config/mips/mips.c | |
parent | 465e1d4c41d913da0fd47c2557aff3a5dac7c749 (diff) | |
download | gcc-91e01231957fcefefd7c4de6abbbb023b3fb5da6.zip gcc-91e01231957fcefefd7c4de6abbbb023b3fb5da6.tar.gz gcc-91e01231957fcefefd7c4de6abbbb023b3fb5da6.tar.bz2 |
mips16.S: Change fixsfsi and fixdfsi to fix_trunc.
2004-03-02 Eric Christopher <echristo@redhat.com>
* config/mips/mips16.S: Change fixsfsi and fixdfsi to
fix_trunc.
* config/mips/mips.c (mips_init_libfuncs): Change accordingly.
* config/mips/t-elf (LIB1ASMFUNCS): Ditto.
* config/mips/t-isa3264 (LIB1ASMFUNCS): Ditto.
* config/mips/t-r3900 (LIB1ASMFUNCS): Ditto.
From-SVN: r78811
Diffstat (limited to 'gcc/config/mips/mips.c')
-rw-r--r-- | gcc/config/mips/mips.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index ad0e43e..336ca99 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -5945,7 +5945,7 @@ mips_file_end (void) when it is unsafe. */ if (TARGET_IRIX && mips_abi == ABI_32 && p->size == -1) { - fputs ("\t.globl ", asm_out_file); + fputs ("\t.globl ", asm_out_file); assemble_name (asm_out_file, p->name); fputs (" .text\n", asm_out_file); } @@ -7012,7 +7012,7 @@ mips_expand_epilogue (int sibcall_p) emit_insn (gen_add3_insn (stack_pointer_rtx, stack_pointer_rtx, GEN_INT (step2))); - + /* Add in the __builtin_eh_return stack adjustment. We need to use a temporary in mips16 code. */ if (current_function_calls_eh_return) @@ -8767,7 +8767,7 @@ mips_init_libfuncs (void) set_optab_libfunc (lt_optab, SFmode, "__mips16_ltsf2"); set_optab_libfunc (le_optab, SFmode, "__mips16_lesf2"); - set_conv_libfunc (sfix_optab, SImode, SFmode, "__mips16_fixsfsi"); + set_conv_libfunc (sfix_optab, SImode, SFmode, "__mips16_fix_truncsfsi"); set_conv_libfunc (sfloat_optab, SFmode, SImode, "__mips16_floatsisf"); if (TARGET_DOUBLE_FLOAT) @@ -8787,7 +8787,7 @@ mips_init_libfuncs (void) set_conv_libfunc (sext_optab, DFmode, SFmode, "__mips16_extendsfdf2"); set_conv_libfunc (trunc_optab, SFmode, DFmode, "__mips16_truncdfsf2"); - set_conv_libfunc (sfix_optab, SImode, DFmode, "__mips16_fixdfsi"); + set_conv_libfunc (sfix_optab, SImode, DFmode, "__mips16_fix_truncdfsi"); set_conv_libfunc (sfloat_optab, DFmode, SImode, "__mips16_floatsidf"); } } @@ -9419,7 +9419,7 @@ mips_emit_prefetch (rtx *operands) int indexed = GET_CODE (operands[3]) == REG; int code; char buffer[30]; - + if (locality <= 0) code = (write ? 5 : 4); /* store_streamed / load_streamed. */ else if (locality <= 2) |