Unbreak on FreeBSD 10.

This commit is contained in:
Jimmy Olgeni
2014-01-17 12:22:13 +00:00
parent 9fa2614546
commit 2a66bb8ec1

View File

@@ -1,12 +1,21 @@
*** dotprod.c 2006-10-12 21:10:53.000000000 -0400
--- ../../foowork/fec-3.0.1/dotprod.c 2011-12-14 20:43:00.132752233 -0500
***************
*** 54,59 ****
--- 54,60 ----
switch(Cpu_mode){
case PORT:
default:
+ return feedp_port(p);
#ifdef __i386__
case MMX:
case SSE:
--- dotprod.c.orig 2006-10-13 03:10:53.000000000 +0200
+++ dotprod.c 2014-01-17 12:35:33.000000000 +0100
@@ -54,12 +54,16 @@
switch(Cpu_mode){
case PORT:
default:
+ freedp_port(p);
+ break;
#ifdef __i386__
case MMX:
case SSE:
- return freedp_mmx(p);
+ freedp_mmx(p);
+ break;
case SSE2:
- return freedp_sse2(p);
+ freedp_sse2(p);
+ break;
#endif
#ifdef __VEC__
case ALTIVEC: