Module Name: src Committed By: mgorny Date: Tue Jun 4 12:17:42 UTC 2019
Modified Files: src/tests/lib/libc/sys: t_ptrace_x86_wait.h Log Message: Fix alignment of SSE filling data To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/tests/lib/libc/sys/t_ptrace_x86_wait.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libc/sys/t_ptrace_x86_wait.h diff -u src/tests/lib/libc/sys/t_ptrace_x86_wait.h:1.14 src/tests/lib/libc/sys/t_ptrace_x86_wait.h:1.15 --- src/tests/lib/libc/sys/t_ptrace_x86_wait.h:1.14 Tue Jun 4 12:17:05 2019 +++ src/tests/lib/libc/sys/t_ptrace_x86_wait.h Tue Jun 4 12:17:42 2019 @@ -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 @@ static __inline void get_xmm_regs(void* { const struct { uint64_t a, b; - } fill = {0x0F0F0F0F0F0F0F0F, 0x0F0F0F0F0F0F0F0F}; + } fill __aligned(16) = {0x0F0F0F0F0F0F0F0F, 0x0F0F0F0F0F0F0F0F}; __asm__ __volatile__( /* fill registers with clobber pattern */