This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/12038] more optimization with -Os option for arm


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]