[Bug target/32803] -Os: shorter load immediates for x86_64
dean at arctic dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 17 10:54:00 GMT 2009
------- Comment #5 from dean at arctic dot org 2009-09-17 10:54 -------
(In reply to comment #4)
> 0: b8 80 ff ff ff mov $0xffffff80,%eax
> 5: 6a 80 pushq $0xffffffffffffff80
> 7: 58 pop %rax
>
should be:
0: 48 c7 c0 80 ff ff ff mov $0xffffffffffffff80,%rax
7: 6a 80 pushq $0xffffffffffffff80
9: 58 pop %rax
7 vs. 3 bytes.
have to get that signed vs. zero-extension correct.
-dean
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32803
More information about the Gcc-bugs
mailing list