Andreas Schwab <[email protected]> writes:
> Alexandre Oliva <[email protected]> writes:
>
>> [PR64164] fix regressions reported on m68k and armeb
>>
>> From: Alexandre Oliva <[email protected]>
>>
>> Defer stack slot address assignment for all parms that can't live in
>> pseudos, and accept pseudos assignments in assign_param_setup_block.
>
> That doesn't fix the ia64 Ada miscompilation though.
I mean miscomparison, not miscompilation. The difference is only in the
insn scheduling.
--- x1 2015-08-19 15:26:41.000000000 +0200
+++ x2 2015-08-19 15:26:46.000000000 +0200
@@ -1,5 +1,5 @@
-stage2-gcc/ada/par.o: file format elf64-ia64-little
+stage3-gcc/ada/par.o: file format elf64-ia64-little
Disassembly of section .text:
@@ -29467,25 +29467,25 @@
214b2: PCREL21B atree__new_node
214b6: 00 00 00 02 00 00 nop.i 0x0
214bc: 08 00 00 50 br.call.sptk.many b0=214b0
<par__ch6__p_formal_part.2186+0xa30>
- 214c0: 08 78 e0 01 80 24 [MMI] mov r15=16504
- 214c6: e0 80 03 00 49 20 mov r14=16496
- 214cc: 00 06 04 92 mov r1=16608
- 214d0: 0a 80 23 00 08 20 [MMI] addp4 r112=r8,r0;;
- 214d6: f0 78 30 00 40 c0 add r15=r15,r12
- 214dc: e1 60 00 80 add r14=r14,r12
- 214e0: 0a 08 04 18 00 20 [MMI] add r1=r1,r12;;
- 214e6: f0 00 3c 20 20 00 ld4 r15=[r15]
- 214ec: 00 00 04 00 nop.i 0x0
+ 214c0: 08 70 c0 01 80 24 [MMI] mov r14=16496
+ 214c6: 00 00 00 02 00 e0 nop.m 0x0
+ 214cc: 81 07 00 92 mov r15=16504
+ 214d0: 09 08 80 01 81 24 [MMI] mov r1=16608
+ 214d6: 00 00 00 02 00 00 nop.m 0x0
+ 214dc: 8e 00 20 80 addp4 r112=r8,r0;;
+ 214e0: 09 70 38 18 00 20 [MMI] add r14=r14,r12
+ 214e6: f0 78 30 00 40 20 add r15=r15,r12
+ 214ec: 10 60 00 80 add r1=r1,r12;;
214f0: 09 00 20 1c 90 11 [MMI] st4 [r14]=r8
214f6: 10 00 04 30 20 00 ld8 r1=[r1]
214fc: 00 00 04 00 nop.i 0x0;;
- 21500: 01 00 00 00 01 00 [MII] nop.m 0x0
- 21506: e0 00 3c 2c 00 e0 sxt4 r14=r15
- 2150c: 01 61 00 84 adds r15=16,r12;;
- 21510: 0b 70 38 00 11 20 [MMI] shladd r14=r14,2,r0;;
- 21516: e0 78 38 00 40 00 add r14=r15,r14
+ 21500: 02 78 00 1e 10 10 [MII] ld4 r15=[r15]
+ 21506: 00 00 00 02 00 c0 nop.i 0x0;;
+ 2150c: 01 78 58 00 sxt4 r14=r15
+ 21510: 0b 78 40 18 00 21 [MMI] adds r15=16,r12;;
+ 21516: e0 70 00 22 40 00 shladd r14=r14,2,r0
2151c: 00 00 04 00 nop.i 0x0;;
- 21520: 09 00 00 00 01 00 [MMI] nop.m 0x0
+ 21520: 0b 70 3c 1c 00 20 [MMI] add r14=r15,r14;;
21526: e0 e0 3b 7e 46 00 adds r14=-4,r14
2152c: 00 00 04 00 nop.i 0x0;;
21530: 10 88 03 1c 10 10 [MIB] ld4 r113=[r14]
Andreas.
--
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."