public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* new_ia32-branch: deprecated instructions
@ 1999-07-16 17:19 Toshiyasu Morita
0 siblings, 0 replies; only message in thread
From: Toshiyasu Morita @ 1999-07-16 17:19 UTC (permalink / raw)
To: egcs-bugs
I still see the new_ia32_branch generating read/modify/write instructions
to memory. Here's a few samples from stress-1.12/decompress.i compiled
at -O2 -march=pentiumpro:
...
1998 108e 8B0B movl (%ebx), %ecx
1999 1090 8B461C movl 28(%esi), %eax
2000 1093 0FB611 movzbl (%ecx), %edx
2001 1096 C1E008 sall $8, %eax
2002 1099 41 incl %ecx
2003 109a 83462008 addl $8, 32(%esi)
2004 109e 890B movl %ecx, (%ebx)
2005 10a0 09D0 orl %edx, %eax
2006 10a2 89461C movl %eax, 28(%esi)
2007 10a5 FF4B04 decl 4(%ebx) <- here
2008 10a8 FF4308 incl 8(%ebx) <- here
...
2050 1115 8B1E movl (%esi), %ebx
2051 1117 8B4304 movl 4(%ebx), %eax
2052 111a 85C0 testl %eax, %eax
2053 111c 0F840E0E je .L624
2053 0000
2054 1122 8B0B movl (%ebx), %ecx
2055 1124 8B461C movl 28(%esi), %eax
2056 1127 0FB611 movzbl (%ecx), %edx
2057 112a C1E008 sall $8, %eax
2058 112d 41 incl %ecx
2059 112e 83462008 addl $8, 32(%esi) <- here
2060 1132 890B movl %ecx, (%ebx)
2061 1134 09D0 orl %edx, %eax
2062 1136 89461C movl %eax, 28(%esi)
2063 1139 FF4B04 decl 4(%ebx) <- here
2064 113c FF4308 incl 8(%ebx) <- here
2065 113f 8B4620 movl 32(%esi), %eax
2066 1142 83F800 cmpl $0, %eax
2067 1145 7ECE jle .L322
2068 1147 8B5E1C movl 28(%esi), %ebx
2069 114a 8D48FF leal -1(%eax), %ecx
2070 114d 894E20 movl %ecx, 32(%esi)
2071 1150 D3EB shrl %cl, %ebx
2072 1152 83E301 andl $1, %ebx
2073 1155 895D90 movl %ebx, -112(%ebp)
2074 .L564:
2075 1158 C1659401 sall $1, -108(%ebp)
2076 115c 8B7D90 movl -112(%ebp), %edi
2077 115f 8B4598 movl -104(%ebp), %eax
2078 1162 8B5584 movl -124(%ebp), %edx
2079 1165 097D94 orl %edi, -108(%ebp) <- here
2080 1168 8B4D94 movl -108(%ebp), %ecx
2081 116b 3B0C82 cmpl (%edx,%eax,4), %ecx
2082 116e 7F80 jg .L317
2083 .L563:
2084 1170 8B5D98 movl -104(%ebp), %ebx
2085 1173 8B7D80 movl -128(%ebp), %edi
2086 1176 8B4594 movl -108(%ebp), %eax
3182:decompress.i ****
3183:decompress.i **** while (((Bool)1) ) {
3184:decompress.i ****
3185:decompress.i **** if (nextSym == EOB) break;
...
Toshi
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-07-16 17:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-16 17:19 new_ia32-branch: deprecated instructions Toshiyasu Morita
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).