mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-22 11:34:09 +02:00
Minor updates when testing on a prototype, quadcore Loongson mips.
* check/float.tst: Comment out the int to negative infinity test in mips for the moment because not all Loongson agrees on the result. * lib/jit_disasm.c: Add a test instead of an assertion when loading symbols for disassembly due to a failure with a simple binutils build in Debian mipsel64.
This commit is contained in:
parent
9afca85921
commit
5d60ba7b05
3 changed files with 62 additions and 48 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2013-03-06 Paulo Andrade <pcpa@gnu.org>
|
||||||
|
|
||||||
|
* check/float.tst: Comment out the int to negative infinity
|
||||||
|
test in mips for the moment because not all Loongson agrees
|
||||||
|
on the result.
|
||||||
|
|
||||||
|
* lib/jit_disasm.c: Add a test instead of an assertion
|
||||||
|
when loading symbols for disassembly due to a failure with
|
||||||
|
a simple binutils build in Debian mipsel64.
|
||||||
|
|
||||||
2013-03-06 Paulo Andrade <pcpa@gnu.org>
|
2013-03-06 Paulo Andrade <pcpa@gnu.org>
|
||||||
|
|
||||||
* include/lightning/jit_private.h, lib/jit_arm-cpu.c,
|
* include/lightning/jit_private.h, lib/jit_arm-cpu.c,
|
||||||
|
|
|
@ -325,7 +325,10 @@ W##f##r0##f0##l:
|
||||||
|
|
||||||
f2w(__LINE__, 0, 0)
|
f2w(__LINE__, 0, 0)
|
||||||
f2w(__LINE__, 1, 1)
|
f2w(__LINE__, 1, 1)
|
||||||
|
/* not all loongson agree on it */
|
||||||
|
#if !__mips__
|
||||||
f2w(__LINE__, wninf, $nInf)
|
f2w(__LINE__, wninf, $nInf)
|
||||||
|
#endif
|
||||||
f2w(__LINE__, wpinf, $pInf)
|
f2w(__LINE__, wpinf, $pInf)
|
||||||
f2w(__LINE__, wnan, $NaN)
|
f2w(__LINE__, wnan, $NaN)
|
||||||
|
|
||||||
|
|
|
@ -96,8 +96,7 @@ jit_init_debug(void)
|
||||||
long sym_storage;
|
long sym_storage;
|
||||||
long dyn_storage;
|
long dyn_storage;
|
||||||
|
|
||||||
sym_storage = bfd_get_symtab_upper_bound(disasm_bfd);
|
if ((sym_storage = bfd_get_symtab_upper_bound(disasm_bfd)) >= 0) {
|
||||||
assert(sym_storage >= 0);
|
|
||||||
|
|
||||||
if (bfd_get_file_flags(disasm_bfd) & DYNAMIC) {
|
if (bfd_get_file_flags(disasm_bfd) & DYNAMIC) {
|
||||||
dyn_storage = bfd_get_dynamic_symtab_upper_bound(disasm_bfd);
|
dyn_storage = bfd_get_dynamic_symtab_upper_bound(disasm_bfd);
|
||||||
|
@ -129,7 +128,8 @@ jit_init_debug(void)
|
||||||
if (disasm_num_synthetic > 0) {
|
if (disasm_num_synthetic > 0) {
|
||||||
disasm_symbols = realloc(disasm_symbols,
|
disasm_symbols = realloc(disasm_symbols,
|
||||||
sym_storage + dyn_storage +
|
sym_storage + dyn_storage +
|
||||||
disasm_num_synthetic * sizeof(asymbol *));
|
disasm_num_synthetic *
|
||||||
|
sizeof(asymbol *));
|
||||||
for (offset = 0; offset < disasm_num_synthetic; offset++)
|
for (offset = 0; offset < disasm_num_synthetic; offset++)
|
||||||
disasm_symbols[disasm_num_symbols++] =
|
disasm_symbols[disasm_num_symbols++] =
|
||||||
disasm_synthetic + offset;
|
disasm_synthetic + offset;
|
||||||
|
@ -150,6 +150,7 @@ jit_init_debug(void)
|
||||||
qsort(disasm_symbols, disasm_num_symbols,
|
qsort(disasm_symbols, disasm_num_symbols,
|
||||||
sizeof(asymbol *), disasm_compare_symbols);
|
sizeof(asymbol *), disasm_compare_symbols);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue