Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/sys Fix alignment of SSE filling data



details:   https://anonhg.NetBSD.org/src/rev/9ca0b28ce2ce
branches:  trunk
changeset: 451790:9ca0b28ce2ce
user:      mgorny <mgorny%NetBSD.org@localhost>
date:      Tue Jun 04 12:17:42 2019 +0000

description:
Fix alignment of SSE filling data

diffstat:

 tests/lib/libc/sys/t_ptrace_x86_wait.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0a4227fa6e66 -r 9ca0b28ce2ce tests/lib/libc/sys/t_ptrace_x86_wait.h
--- a/tests/lib/libc/sys/t_ptrace_x86_wait.h    Tue Jun 04 12:17:05 2019 +0000
+++ b/tests/lib/libc/sys/t_ptrace_x86_wait.h    Tue Jun 04 12:17:42 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_x86_wait.h,v 1.14 2019/06/04 12:17:05 mgorny Exp $    */
+/*     $NetBSD: t_ptrace_x86_wait.h,v 1.15 2019/06/04 12:17:42 mgorny Exp $    */
 
 /*-
  * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc.
@@ -2600,7 +2600,7 @@
 {
        const struct {
                uint64_t a, b;
-       } fill = {0x0F0F0F0F0F0F0F0F, 0x0F0F0F0F0F0F0F0F};
+       } fill __aligned(16) = {0x0F0F0F0F0F0F0F0F, 0x0F0F0F0F0F0F0F0F};
 
        __asm__ __volatile__(
                /* fill registers with clobber pattern */



Home | Main Index | Thread Index | Old Index