https://sourceware.org/bugzilla/show_bug.cgi?id=22870

            Bug ID: 22870
           Summary: slow aarch64 assembler for source with lots of .loc
                    directives
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: aldyh at redhat dot com
  Target Milestone: ---

Created attachment 10840
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10840&action=edit
aarch64 assembler testcase

Hi.

After the following patch in GCC land, providing finer grained .loc directives
for inline functions, assembler time is significantly higher:

https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00481.html

tor:~/bld/aarch64-combined/gcc$ time ./as poly-big.s
real    0m20.108s
user    0m19.847s
sys     0m0.203s
tor:~/bld/aarch64-combined/gcc$ time ./as poly-small.s
real    0m0.622s
user    0m0.574s
sys     0m0.046s
tor:~/bld/aarch64-combined/gcc$ grep \.loc poly-big.s|wc
 103773  784669 4036367
tor:~/bld/aarch64-combined/gcc$ grep \.loc poly-small.s|wc
  30423  210225 1096181

I am reporting this, just in case the binutils team would like this addressed.

This was originally reported as PR84408 in GCC:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84408

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to