https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30517
Francois-Xavier Coudert changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
--- Comment #3 from astrange at ithinksw dot com 2007-01-23 23:36 ---
> If they are the same size (and there is no speed impact), there is actually no
> point to expect that they should compile to the same thing.
Of course; I meant that they're the same size at the moment. The optimal
v
--- Comment #2 from astrange at ithinksw dot com 2007-01-21 19:25 ---
Created an attachment (id=12928)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12928&action=view)
example source code
Had a bit of browser trouble; here's the code.
--
http://gcc.gnu.org/bugzilla/show_bug.c
--- Comment #1 from ubizjak at gmail dot com 2007-01-21 11:38 ---
(In reply to comment #0)
> gcc with -Os -fno-PIC generates:
> movb$38, (%ebx,%edx)# 45*movqi_1/7 [length = 4]
> leal(%ebx,%edx), %eax # 122 *lea_1 [length = 3]
> m