]> sourceware.org Git - glibc.git/commit
x86: Add string/memory function tests in RTM region
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 23 Feb 2021 14:33:10 +0000 (06:33 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 29 Mar 2021 14:40:17 +0000 (07:40 -0700)
commit4bd660be40967cd69072f69ebc2ad32bfcc1f206
treebf4ff45b0d0f7f1b71025030bc554c12b1e24f21
parent7ebba91361badf7531d4e75050627a88d424872f
x86: Add string/memory function tests in RTM region

At function exit, AVX optimized string/memory functions have VZEROUPPER
which triggers RTM abort.   When such functions are called inside a
transactionally executing RTM region, RTM abort causes severe performance
degradation.  Add tests to verify that string/memory functions won't
cause RTM abort in RTM region.
12 files changed:
sysdeps/x86/Makefile
sysdeps/x86/tst-memchr-rtm.c [new file with mode: 0644]
sysdeps/x86/tst-memcmp-rtm.c [new file with mode: 0644]
sysdeps/x86/tst-memmove-rtm.c [new file with mode: 0644]
sysdeps/x86/tst-memrchr-rtm.c [new file with mode: 0644]
sysdeps/x86/tst-memset-rtm.c [new file with mode: 0644]
sysdeps/x86/tst-strchr-rtm.c [new file with mode: 0644]
sysdeps/x86/tst-strcpy-rtm.c [new file with mode: 0644]
sysdeps/x86/tst-string-rtm.h [new file with mode: 0644]
sysdeps/x86/tst-strlen-rtm.c [new file with mode: 0644]
sysdeps/x86/tst-strncmp-rtm.c [new file with mode: 0644]
sysdeps/x86/tst-strrchr-rtm.c [new file with mode: 0644]
This page took 0.043374 seconds and 5 git commands to generate.