use feature selector and conditional from autoconf
This commit is contained in:
parent
1e16fbf433
commit
bbcd5baa84
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libbsim3v32.la
|
noinst_LTLIBRARIES = libbsim3v32.la
|
||||||
|
|
||||||
|
|
||||||
libbsim3v32_la_SOURCES = \
|
libbsim3v32_la_SOURCES = \
|
||||||
b3v32.c \
|
b3v32.c \
|
||||||
b3v32acld.c \
|
b3v32acld.c \
|
||||||
|
|
@ -24,17 +25,21 @@ libbsim3v32_la_SOURCES = \
|
||||||
bsim3v32ext.h \
|
bsim3v32ext.h \
|
||||||
bsim3v32init.c \
|
bsim3v32init.c \
|
||||||
bsim3v32init.h \
|
bsim3v32init.h \
|
||||||
bsim3v32itf.h \
|
bsim3v32itf.h
|
||||||
|
|
||||||
|
if WANT_MODSIMD
|
||||||
|
libbsim3v32_la_SOURCES += \
|
||||||
b3v32ldseq.c \
|
b3v32ldseq.c \
|
||||||
b3v32ldsel.c \
|
b3v32ldsel.c \
|
||||||
b3v32ldsimd.c \
|
b3v32ldsimd.c
|
||||||
vec4_exp.c \
|
endif
|
||||||
vec4_log.c
|
|
||||||
|
|
||||||
|
|
||||||
|
AM_CPPFLAGS = @AM_CPPFLAGS@ -I$(top_srcdir)/src/include
|
||||||
AM_CPPFLAGS = @AM_CPPFLAGS@ -I$(top_srcdir)/src/include -DBSIM3v32SIMD
|
AM_CFLAGS = $(STATIC)
|
||||||
AM_CFLAGS = $(STATIC) -Wall -fno-math-errno -ffast-math
|
if WANT_MODSIMD
|
||||||
|
AM_CFLAGS += -fno-math-errno -ffast-math -fopenmp-simd
|
||||||
|
endif
|
||||||
|
|
||||||
MAINTAINERCLEANFILES = Makefile.in
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,9 +28,6 @@ extern int BSIM3v32trunc(GENmodel*,CKTcircuit*,double*);
|
||||||
extern int BSIM3v32noise(int,int,GENmodel*,CKTcircuit*,Ndata*,double*);
|
extern int BSIM3v32noise(int,int,GENmodel*,CKTcircuit*,Ndata*,double*);
|
||||||
extern int BSIM3v32unsetup(GENmodel*,CKTcircuit*);
|
extern int BSIM3v32unsetup(GENmodel*,CKTcircuit*);
|
||||||
extern int BSIM3v32soaCheck(CKTcircuit *, GENmodel *);
|
extern int BSIM3v32soaCheck(CKTcircuit *, GENmodel *);
|
||||||
#ifndef BSIM3v32SIMD
|
|
||||||
#define BSIM3v32SIMD
|
|
||||||
#endif
|
|
||||||
#ifdef BSIM3v32SIMD
|
#ifdef BSIM3v32SIMD
|
||||||
extern int BSIM3v32loadSel(GENmodel*,CKTcircuit*);
|
extern int BSIM3v32loadSel(GENmodel*,CKTcircuit*);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue