1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-06 12:10:28 +02:00

ARM: Correct wrong table of instruction sizes in software float

* lib/jit_arm-sz.c: Regenerate table of known maximum
	instruction sizes for the software float fallback,
	that implements "virtual" float registers in the stack
	and operations as calls to libgcc.

	* size.c: Correct typo in the generated jit_arm-sz.c file.
This commit is contained in:
pcpa 2014-08-16 20:08:07 -03:00
parent 73c2fc830e
commit a597e3575d
3 changed files with 288 additions and 279 deletions

View file

@ -1,3 +1,12 @@
2014-08-16 Paulo Andrade <pcpa@gnu.org>
* lib/jit_arm-sz.c: Regenerate table of known maximum
instruction sizes for the software float fallback,
that implements "virtual" float registers in the stack
and operations as calls to libgcc.
* size.c: Correct typo in the generated jit_arm-sz.c file.
2014-08-10 Paulo Andrade <pcpa@gnu.org>
* include/lightning/jit_alpha.h, lib/jit_alpha-cpu.c,

View file

@ -353,7 +353,7 @@
#if __WORDSIZE == 32
#if !defined(__ARM_PCS_VFP)
#define JIT_INSTR_MAX 74
#define JIT_INSTR_MAX 90
0,
0,
0,
@ -381,276 +381,276 @@
12,
4,
8,
32,
40,
44,
24,
28,
18,
22,
18,
22,
24,
28,
24,
28,
4,
4,
4,
8,
4,
8,
4,
4,
4,
4,
4,
4,
4,
4,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
4,
8,
4,
4,
4,
4,
0,
0,
4,
4,
12,
4,
12,
4,
12,
4,
12,
4,
12,
0,
0,
0,
0,
4,
4,
4,
4,
4,
4,
4,
4,
4,
4,
0,
0,
0,
0,
4,
12,
4,
12,
4,
12,
0,
0,
4,
4,
4,
4,
4,
4,
0,
0,
8,
8,
8,
8,
8,
8,
8,
8,
8,
16,
8,
8,
8,
8,
8,
8,
8,
8,
8,
16,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
0,
4,
4,
12,
12,
0,
22,
22,
22,
22,
22,
22,
22,
22,
12,
12,
18,
20,
30,
20,
32,
20,
30,
20,
30,
20,
30,
24,
30,
50,
58,
50,
58,
50,
58,
50,
58,
50,
58,
54,
62,
24,
30,
50,
58,
16,
0,
32,
22,
8,
12,
8,
16,
8,
8,
8,
16,
8,
8,
24,
24,
24,
28,
24,
40,
44,
24,
28,
24,
28,
24,
28,
24,
28,
24,
28,
52,
60,
24,
28,
24,
28,
52,
60,
24,
28,
24,
28,
34,
38,
34,
38,
40,
44,
40,
44,
4,
4,
4,
8,
4,
8,
4,
4,
4,
4,
4,
4,
4,
4,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
14,
4,
8,
4,
4,
4,
4,
0,
0,
4,
4,
12,
4,
12,
4,
12,
4,
12,
4,
12,
0,
0,
0,
0,
4,
4,
4,
4,
4,
4,
4,
4,
4,
4,
0,
0,
0,
0,
4,
12,
4,
12,
4,
12,
0,
0,
4,
4,
4,
4,
4,
4,
0,
0,
8,
8,
8,
8,
8,
8,
8,
8,
8,
16,
8,
8,
8,
8,
8,
8,
8,
8,
8,
16,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
0,
4,
4,
12,
12,
0,
38,
38,
38,
38,
38,
38,
38,
38,
12,
12,
34,
36,
34,
40,
36,
34,
40,
36,
34,
40,
36,
20,
20,
26,
28,
34,
28,
40,
36,
28,
34,
28,
34,
28,
34,
32,
34,
40,
40,
44,
66,
70,
74,
66,
70,
74,
66,
70,
74,
66,
70,
74,
66,
74,
70,
70,
78,
40,
44,
66,
74,
32,
34,
66,
70,
0,
32,
38,
8,
12,
8,
16,
8,
8,
8,
16,
8,
8,
40,
40,
40,
44,
40,
44,
40,
44,
40,
44,
40,
44,
40,
44,
40,
44,
68,
76,
40,
44,
40,
44,
68,
76,
40,
44,
40,
44,
0,
50,
52,
50,
52,
50,
52,
50,
52,
20,
20,
42,
44,
46,
44,
46,
44,
46,
44,
46,
44,
46,
48,
50,
82,
86,
82,
86,
82,
86,
82,
86,
82,
86,
86,
90,
48,
50,
82,
86,
36,
0,
36,
22,
38,
16,
20,
16,
@ -661,34 +661,34 @@
24,
20,
16,
32,
34,
32,
34,
32,
48,
50,
48,
50,
48,
50,
48,
50,
48,
50,
48,
50,
48,
50,
48,
50,
84,
88,
48,
50,
48,
50,
84,
88,
48,
50,
48,
50,
32,
34,
32,
34,
32,
34,
32,
34,
32,
34,
68,
72,
32,
34,
32,
34,
68,
72,
32,
34,
32,
34,
4,
8,
0,

2
size.c
View file

@ -71,7 +71,7 @@ main(int argc, char *argv[])
for (offset = 0; offset <= jit_code_x86_retval_d; offset++)
fprintf(fp, " %d,\n", _szs[offset]);
#if defined(__arm__)
fprintf(fp, "#undef /* __ARM_PCS_VFP */\n");
fprintf(fp, "#endif /* __ARM_PCS_VFP */\n");
#elif defined(__mips__)
# if __WORDSIZE == 32
fprintf(fp, "#endif /* NEW_ABI */\n");