Refs #768. Swap the result of zdot x87 fp kernel.
authorZhang Xianyi <traits.zhang@gmail.com>
Tue, 2 Feb 2016 01:15:02 +0000 (09:15 +0800)
committerZhang Xianyi <traits.zhang@gmail.com>
Tue, 2 Feb 2016 01:15:02 +0000 (09:15 +0800)
kernel/x86_64/zdot.S

index 607b9b9..94d1008 100644 (file)
 #ifndef CONJ
        fsubp   %st, %st(3)
        faddp   %st, %st(1)
+       fxch    %st(1)
 #else
        faddp   %st, %st(3)
        fsubp   %st, %st(1)
+       fxch    %st(1)
 #endif
        ret
        ALIGN_3