[PATCH] D146216: [lld][ELF] Relax long jump/call to short jump/call on AVR
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 12 19:05:09 PDT 2023
benshi001 added a comment.
ping ...
1. relax `long jump` to `short jump + nop` does can save 1 CPU cycle;
2. GNU-ld also does this optimization, as
https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=bfd/elf32-avr.c;h=702719136d09acbc8c98ec49ab8129d0f33fffa8;hb=HEAD#l2721
https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=bfd/elf32-avr.c;h=702719136d09acbc8c98ec49ab8129d0f33fffa8;hb=HEAD#l2738
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146216/new/
https://reviews.llvm.org/D146216
More information about the llvm-commits
mailing list