summaryrefslogtreecommitdiff
path: root/tools/mbench
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2017-09-18 14:02:23 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2017-09-18 14:02:23 +0000
commit755462ac89bf6bbb42935fccbaf18d72afe1a0ff (patch)
tree04e2e815fef4f295f2a7dfceb5e1352f6387cf3a /tools/mbench
parentf96e3b4fa7037fa401aa1b648443df5efd48e5af (diff)
downloadmpfr-755462ac89bf6bbb42935fccbaf18d72afe1a0ff.tar.gz
changed .align 64 into .p2align 6 (cf https://trac.sagemath.org/ticket/19233)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11756 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tools/mbench')
-rw-r--r--tools/mbench/timp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/mbench/timp.h b/tools/mbench/timp.h
index 6239a8639..ca0b95eec 100644
--- a/tools/mbench/timp.h
+++ b/tools/mbench/timp.h
@@ -53,10 +53,10 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#if !defined(corei7) && !defined(__core_avx2__)
-/* the following implements Section 3.2.3 of the article cited below */
+/* The following implements Section 3.2.3 of the article cited below. */
#define timp_rdtsc_before(time) \
__asm__ __volatile__( \
- ".align 64\n\t" \
+ ".p2align 6\n\t" \
"xorl %%eax,%%eax\n\t" \
"cpuid\n\t" \
"rdtsc\n\t" \
@@ -86,7 +86,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
see https://www.intel.com/content/dam/www/public/us/en/documents/white-papers/ia-32-ia-64-benchmark-code-execution-paper.pdf */
#define timp_rdtsc_before(time) \
__asm__ __volatile__( \
- ".align 64\n\t" \
+ ".p2align 6\n\t" \
"xorl %%eax,%%eax\n\t" \
"cpuid\n\t" \
"rdtsc\n\t" \