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> 2014-08-10 Paulo Andrade <pcpa@gnu.org>
* include/lightning/jit_alpha.h, lib/jit_alpha-cpu.c, * include/lightning/jit_alpha.h, lib/jit_alpha-cpu.c,

View file

@ -353,7 +353,7 @@
#if __WORDSIZE == 32 #if __WORDSIZE == 32
#if !defined(__ARM_PCS_VFP) #if !defined(__ARM_PCS_VFP)
#define JIT_INSTR_MAX 74 #define JIT_INSTR_MAX 90
0, 0,
0, 0,
0, 0,
@ -381,276 +381,276 @@
12, 12,
4, 4,
8, 8,
32, 40,
44, 44,
24, 40,
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,
44, 44,
24, 34,
28, 38,
24, 34,
28, 38,
24, 40,
28, 44,
24, 40,
28, 44,
24, 4,
28, 4,
52, 4,
60, 8,
24, 4,
28, 8,
24, 4,
28, 4,
52, 4,
60, 4,
24, 4,
28, 4,
24, 4,
28, 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,
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, 34,
36, 36,
34, 40,
36, 36,
34, 40,
36, 36,
34, 40,
36, 36,
20, 40,
20,
26,
28,
34,
28,
36, 36,
28, 40,
34, 40,
28, 44,
34,
28,
34,
32,
34,
66, 66,
70, 74,
66, 66,
70, 74,
66, 66,
70, 74,
66, 66,
70, 74,
66, 66,
74,
70, 70,
70, 78,
40,
44,
66,
74, 74,
32, 32,
34, 0,
66, 32,
70, 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,
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, 0,
36, 36,
22, 38,
16, 16,
20, 20,
16, 16,
@ -661,34 +661,34 @@
24, 24,
20, 20,
16, 16,
32, 48,
34, 50,
32, 48,
34, 50,
32, 48,
50,
48,
50,
48,
50,
48,
50,
48,
50,
48,
50,
84,
88,
48,
50,
48,
50,
84,
88,
48,
50,
48,
50, 50,
32,
34,
32,
34,
32,
34,
32,
34,
32,
34,
68,
72,
32,
34,
32,
34,
68,
72,
32,
34,
32,
34,
4, 4,
8, 8,
0, 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++) for (offset = 0; offset <= jit_code_x86_retval_d; offset++)
fprintf(fp, " %d,\n", _szs[offset]); fprintf(fp, " %d,\n", _szs[offset]);
#if defined(__arm__) #if defined(__arm__)
fprintf(fp, "#undef /* __ARM_PCS_VFP */\n"); fprintf(fp, "#endif /* __ARM_PCS_VFP */\n");
#elif defined(__mips__) #elif defined(__mips__)
# if __WORDSIZE == 32 # if __WORDSIZE == 32
fprintf(fp, "#endif /* NEW_ABI */\n"); fprintf(fp, "#endif /* NEW_ABI */\n");