Module: xenomai-3
Branch: next
Commit: 13a1bf515b25ce6e3a5499c800d50032c4679b96
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=13a1bf515b25ce6e3a5499c800d50032c4679b96

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Sun Oct 12 11:51:57 2014 +0200

cobalt/x86: fix AVX/SSE2 test code

---

 kernel/cobalt/arch/x86/include/asm/xenomai/uapi/fptest.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/cobalt/arch/x86/include/asm/xenomai/uapi/fptest.h 
b/kernel/cobalt/arch/x86/include/asm/xenomai/uapi/fptest.h
index d6a9a68..d406cc3 100644
--- a/kernel/cobalt/arch/x86/include/asm/xenomai/uapi/fptest.h
+++ b/kernel/cobalt/arch/x86/include/asm/xenomai/uapi/fptest.h
@@ -39,7 +39,7 @@ static inline void fp_regs_set(int features, unsigned int val)
                        "vmovupd %0,%%ymm5;"
                        "vmovupd %0,%%ymm6;"
                        "vmovupd %0,%%ymm7;"
-                       : : "m" (vec[0]));
+                       : : "m"(vec[0]), "m"(vec[1]), "m"(vec[2]), "m"(vec[3]));
        } else if (features & __COBALT_HAVE_SSE2) {
                __asm__ __volatile__(
                        "movupd %0,%%xmm0;"
@@ -50,7 +50,7 @@ static inline void fp_regs_set(int features, unsigned int val)
                        "movupd %0,%%xmm5;"
                        "movupd %0,%%xmm6;"
                        "movupd %0,%%xmm7;"
-                       : : "m" (vec[0]));
+                       : : "m"(vec[0]), "m"(vec[1]), "m"(vec[2]), "m"(vec[3]));
        }
 }
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to