public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Aleksandra Tsvetkova <astsvetk@gmail.com>
To: Ilya Enkovich <enkovich.gnu@gmail.com>
Cc: gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH] New version of libmpx with new memmove wrapper
Date: Wed, 25 Nov 2015 15:54:00 -0000	[thread overview]
Message-ID: <CAGq4YfzRaShV7awo71T_8WahNqQFw0ud0WOTKj7ADavk6pwczw@mail.gmail.com> (raw)
In-Reply-To: <20151125154058.GA53196@msticlxl57.ims.intel.com>

I ran make check (paseed) and spec 2000, where 1 extra test(255.vortex) failed.

On Wed, Nov 25, 2015 at 6:41 PM, Aleksandra Tsvetkova
<astsvetk@gmail.com> wrote:
> gcc/testsuite/ChangeLog
> 2015-10-27  Tsvetkova Alexandra  <aleksandra.tsvetkova@intel.com>
>
>     * gcc.target/i386/mpx/memmove.c: New test for __mpx_wrapper_memmove.
>
> libmpx/ChangeLog
> 2015-10-28  Tsvetkova Alexandra  <aleksandra.tsvetkova@intel.com>
>
>     * mpxrt/Makefile.am (libmpx_la_LDFLAGS): Add -version-info option.
>     * libmpxwrap/Makefile.am (libmpx_la_LDFLAGS): Likewise + includes fixed.
>     * libmpx/Makefile.in: Regenerate.
>     * mpxrt/Makefile.in: Regenerate.
>     * libmpxwrap/Makefile.in: Regenerate.
>     * mpxrt/libtool-version: New version.
>     * libmpxwrap/libtool-version: Likewise.
>     * mpxrt/libmpx.map: Add new version and a new symbol.
>     * mpxrt/mpxrt.h: New file.
>     * mpxrt/mpxrt.c (NUM_L1_BITS): Moved to mpxrt.h.
>     (REG_IP_IDX): Moved to mpxrt.h.
>     (REX_PREFIX): Moved to mpxrt.h.
>     (XSAVE_OFFSET_IN_FPMEM): Moved to mpxrt.h.
>     (MPX_L1_SIZE): Moved to mpxrt.h.
>     * libmpxwrap/mpx_wrappers.c: (__mpx_wrapper_memmove): Rewritten.
>     (mpx_pointer): New type.
>     (mpx_bt_entry): New type.
>     (alloc_bt): New function.
>     (get_bt): New function.
>     (copy_if_possible): New function.
>     (copy_if_possible_from_end): New function.
>     (move_bounds): New function.
>
> Memmove became 2 times slower on 8 bytes. On bigger lengths (>64 bytes) it became up to 3,5 times better with pointers, up to 21 times better without pointers.

  reply	other threads:[~2015-11-25 15:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-05 10:38 Aleksandra Tsvetkova
2015-11-12 14:57 ` Ilya Enkovich
2015-11-23 19:51   ` Aleksandra Tsvetkova
2015-11-24 12:35     ` Ilya Enkovich
2015-11-25 15:43       ` Aleksandra Tsvetkova
2015-11-25 15:54         ` Aleksandra Tsvetkova [this message]
2015-11-26 10:49         ` Ilya Enkovich
2015-12-06 19:41           ` Aleksandra Tsvetkova
2015-12-07 16:00             ` Ilya Enkovich
2015-12-08 10:46               ` Aleksandra Tsvetkova
2015-12-08 10:54                 ` Aleksandra Tsvetkova
2015-12-11 14:35                   ` Ilya Enkovich
2016-01-20 13:20                     ` Matthias Klose
2016-01-20 14:37                       ` Ilya Enkovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGq4YfzRaShV7awo71T_8WahNqQFw0ud0WOTKj7ADavk6pwczw@mail.gmail.com \
    --to=astsvetk@gmail.com \
    --cc=enkovich.gnu@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).