This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/12038] more optimization with -Os option for arm
- From: "vittasoft at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2003 19:52:59 -0000
- Subject: [Bug c/12038] more optimization with -Os option for arm
- References: <20030822233855.12038.vittasoft@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12038
------- Additional Comments From vittasoft at yahoo dot com 2003-08-24 19:52 -------
Well... Sorry, This is my first post in gcc bugzilla.
All things are simple:
gcc/final.c:
get_attr_length for JUMP_INSN returns insn_default_length(insn), which equal to 8
gcc/insn-attrtab.c:
get_attr_far_jump for JUMP_INSN check if get_attr_length for current instruction
equal 8, returns FAR_JUMP_YES.
But in ARM no matter how far is jump. I also didn't know why authors check this.
Here doesn't used LR register anything. But it forced saves in stack.