[Bug rtl-optimization/20586] bootstrap comparision fails with -funroll-loops.
pluto at pld-linux dot org
gcc-bugzilla@gcc.gnu.org
Mon Apr 11 13:08:00 GMT 2005
------- Additional Comments From pluto at pld-linux dot org 2005-04-11 13:08 -------
Problem still exists in 4.0.0-20050409 snap.
I've checked the i386.o and caller-save.o from stage2/3.
They have the same size but diff. instructions in several places.
--- stage2-i386.o.txt 2005-04-11 14:42:40.000000000 +0200
+++ stage3-i386.o.txt 2005-04-11 14:42:46.000000000 +0200
@@ -1,5 +1,5 @@
-stage2-i386.o: file format elf32-i386
+stage3-i386.o: file format elf32-i386
Disassembly of section .text:
// split_di function
@@ -4948,7 +4948,7 @@
4461: 89 42 fc mov %eax,0xfffffffc(%edx)
4464: 8b 44 24 20 mov 0x20(%esp),%eax
4468: 83 c0 01 add $0x1,%eax
- 446b: 89 44 24 1c mov %eax,0x1c(%esp)
+ 446b: 89 44 24 18 mov %eax,0x18(%esp)
446f: 8b 7c 24 24 mov 0x24(%esp),%edi
4473: 83 ef 04 sub $0x4,%edi
4476: 89 7c 24 24 mov %edi,0x24(%esp)
@@ -4956,7 +4956,7 @@
447d: 89 f5 mov %esi,%ebp
447f: 8b 54 24 28 mov 0x28(%esp),%edx
4483: 83 ea 04 sub $0x4,%edx
- 4486: 89 54 24 18 mov %edx,0x18(%esp)
+ 4486: 89 54 24 1c mov %edx,0x1c(%esp)
448a: 8b 5a fc mov 0xfffffffc(%edx),%ebx
448d: 66 83 3b 27 cmpw $0x27,(%ebx)
4491: 0f 84 fe 00 00 00 je 4595 <split_di+0x25b>
@@ -4984,13 +4984,13 @@
44e8: c7 04 24 0c 00 00 00 movl $0xc,(%esp)
44ef: e8 fc ff ff ff call 44f0 <split_di+0x1b6>
44f4: 89 47 fc mov %eax,0xfffffffc(%edi)
- 44f7: 8b 54 24 1c mov 0x1c(%esp),%edx
+ 44f7: 8b 54 24 18 mov 0x18(%esp),%edx
44fb: 83 c2 01 add $0x1,%edx
44fe: 89 54 24 20 mov %edx,0x20(%esp)
4502: 83 ef 04 sub $0x4,%edi
4505: 89 7c 24 24 mov %edi,0x24(%esp)
4509: 8d 6e fc lea 0xfffffffc(%esi),%ebp
- 450c: 8b 44 24 18 mov 0x18(%esp),%eax
+ 450c: 8b 44 24 1c mov 0x1c(%esp),%eax
4510: 83 e8 04 sub $0x4,%eax
4513: 89 44 24 28 mov %eax,0x28(%esp)
4517: 8b 44 24 44 mov 0x44(%esp),%eax
// split_ti function
@@ -5144,7 +5144,7 @@
474e: 89 42 fc mov %eax,0xfffffffc(%edx)
4751: 8b 44 24 20 mov 0x20(%esp),%eax
4755: 83 c0 01 add $0x1,%eax
- 4758: 89 44 24 1c mov %eax,0x1c(%esp)
+ 4758: 89 44 24 18 mov %eax,0x18(%esp)
475c: 8d 7d fc lea 0xfffffffc(%ebp),%edi
475f: 89 fd mov %edi,%ebp
4761: 8b 74 24 24 mov 0x24(%esp),%esi
@@ -5152,7 +5152,7 @@
4768: 89 74 24 24 mov %esi,0x24(%esp)
476c: 8b 54 24 28 mov 0x28(%esp),%edx
4770: 83 ea 04 sub $0x4,%edx
- 4773: 89 54 24 18 mov %edx,0x18(%esp)
+ 4773: 89 54 24 1c mov %edx,0x1c(%esp)
4777: 8b 5a fc mov 0xfffffffc(%edx),%ebx
477a: 66 83 3b 27 cmpw $0x27,(%ebx)
477e: 0f 84 e4 00 00 00 je 4868 <split_ti+0x20d>
@@ -5172,13 +5172,13 @@
47bb: c7 04 24 0d 00 00 00 movl $0xd,(%esp)
47c2: e8 fc ff ff ff call 47c3 <split_ti+0x168>
47c7: 89 46 fc mov %eax,0xfffffffc(%esi)
- 47ca: 8b 54 24 1c mov 0x1c(%esp),%edx
+ 47ca: 8b 54 24 18 mov 0x18(%esp),%edx
47ce: 83 c2 01 add $0x1,%edx
47d1: 89 54 24 20 mov %edx,0x20(%esp)
47d5: 8d 6f fc lea 0xfffffffc(%edi),%ebp
47d8: 83 ee 04 sub $0x4,%esi
47db: 89 74 24 24 mov %esi,0x24(%esp)
- 47df: 8b 44 24 18 mov 0x18(%esp),%eax
+ 47df: 8b 44 24 1c mov 0x1c(%esp),%eax
47e3: 83 e8 04 sub $0x4,%eax
47e6: 89 44 24 28 mov %eax,0x28(%esp)
47ea: 8b 44 24 44 mov 0x44(%esp),%eax
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20586
More information about the Gcc-bugs
mailing list