This is the mail archive of the gcc-patches@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]

Re: Inline DOT_PRODUCT revisited


On Saturday 25 February 2006 23:37, Steven Bosscher wrote:
> I would _very_ much like to have this patch in GCC 4.1.1

...the motivation being, of course, that the almost industry-standard
Fortran benchmark (Polyhedron) benefits from this patch tremendeously,
as does a lot of real-world code because DOT_PRODUCT is a very popular
intrinsic.

Timings before the patch (the numbers are proeduced by the test case):
DOT_PRODUCT test
  array length      time(ns)

       4            11700.00
       8            10992.00
      16            10589.00
      32             9268.00
      64             9734.00
     128            10751.00
     256            12929.00

Timings _with_ the patch applied:
DOT_PRODUCT test
  array length      time(ns)

       4             2472.00
       8             2513.00
      16             2541.00
      32             2691.00
      64             2920.00
     128             3315.00
     256             4240.00

Gr.
Steven


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