https://bugs.kde.org/show_bug.cgi?id=516223

--- Comment #4 from Mark Wielaard <[email protected]> ---
And then aligning the V128 variables makes native and VEX produce the same
output (without any SIGSEGVs):

diff --git a/none/tests/sse4-common.h b/none/tests/sse4-common.h
index e07a1aeb4705..036048f66eea 100644
--- a/none/tests/sse4-common.h
+++ b/none/tests/sse4-common.h
@@ -686,7 +686,7 @@ static inline void do_PBLENDVB ( Bool mem, V128* xmm0,
V128* src, /*MOD*/V128* d

 static inline void test_PBLENDVB ( void )
 {
-   V128 xmm0, src, dst, t_xmm0, t_src, t_dst;
+   __attribute__ ( (aligned (16))) V128 xmm0, src, dst, t_xmm0, t_src, t_dst;
    Int i;
    for (i = 0; i < 10; i++) {
       randV128(&t_xmm0);
@@ -753,7 +753,7 @@ static inline void do_BLENDVPD ( Bool mem, V128* xmm0,
V128* src, /*MOD*/V128* d

 static inline void test_BLENDVPD ( void )
 {
-   V128 xmm0, src, dst, t_xmm0, t_src, t_dst;
+   __attribute__ ( (aligned (16))) V128 xmm0, src, dst, t_xmm0, t_src, t_dst;
    Int i;
    for (i = 0; i < 10; i++) {
       randV128(&t_xmm0);
@@ -820,7 +820,7 @@ static inline void do_BLENDVPS ( Bool mem, V128* xmm0,
V128* src, /*MOD*/V128* d

 static inline void test_BLENDVPS ( void )
 {
-   V128 xmm0, src, dst, t_xmm0, t_src, t_dst;
+   __attribute__ ( (aligned (16))) V128 xmm0, src, dst, t_xmm0, t_src, t_dst;
    Int i;
    for (i = 0; i < 10; i++) {
       randV128(&t_xmm0);

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to