[llvm-bugs] [Bug 28145] New: Support -maccumulate-outgoing-args

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 15 12:05:50 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28145

            Bug ID: 28145
           Summary: Support -maccumulate-outgoing-args
           Product: clang
           Version: 3.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: austinenglish at gmail.com
                CC: anton at korobeynikov.info, anton at samba.org,
                    austinenglish at gmail.com, baldrick at free.fr,
                    edwin+llvm at etorok.net, eli.friedman at gmail.com,
                    emaste at freebsd.org, geek4civic at gmail.com,
                    lionel_debroux at yahoo.fr, llvm-bugs at lists.llvm.org
    Classification: Unclassified

This is needed by the Linux kernel. GCC's manpage says:
       -maccumulate-outgoing-args
           If enabled, the maximum amount of space required for outgoing
           arguments is computed in the function prologue.  This is faster on
           most modern CPUs because of reduced dependencies, improved
           scheduling and reduced stack usage when the preferred stack
           boundary is not equal to 2.  The drawback is a notable increase in
           code size.  This switch implies -mno-push-args.

clang should probably support it too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160615/82603803/attachment.html>


More information about the llvm-bugs mailing list