public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/67321] New: [ARM] Exploit Wide Add operations when appropriate
@ 2015-08-23  2:52 michael.collison at linaro dot org
  2015-08-23  2:56 ` [Bug target/67321] " michael.collison at linaro dot org
  0 siblings, 1 reply; 2+ messages in thread
From: michael.collison at linaro dot org @ 2015-08-23  2:52 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67321
           Summary: [ARM] Exploit Wide Add operations when appropriate
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: michael.collison at linaro dot org
  Target Milestone: ---

Wide add operations are not always being generated for mixed mode adds as shown
by the following test case:

int wadd_test(int len, void * dummy, short * __restrict x)
{
  len = len & ~31;
  int result = 0;
  __asm volatile ("");
  for (int i = 0; i < len; i++)
    result += x[i];
  return result;
}


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug target/67321] [ARM] Exploit Wide Add operations when appropriate
  2015-08-23  2:52 [Bug target/67321] New: [ARM] Exploit Wide Add operations when appropriate michael.collison at linaro dot org
@ 2015-08-23  2:56 ` michael.collison at linaro dot org
  0 siblings, 0 replies; 2+ messages in thread
From: michael.collison at linaro dot org @ 2015-08-23  2:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Michael Collison <michael.collison at linaro dot org> ---
Created attachment 36242
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36242&action=edit
Patch to generate arm vaddw


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-23  2:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-23  2:52 [Bug target/67321] New: [ARM] Exploit Wide Add operations when appropriate michael.collison at linaro dot org
2015-08-23  2:56 ` [Bug target/67321] " michael.collison at linaro dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).