summaryrefslogtreecommitdiff
path: root/getarch.c
diff options
context:
space:
mode:
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>2022-01-22 18:53:38 +0100
committerGitHub <noreply@github.com>2022-01-22 18:53:38 +0100
commitbc93f468ef98c7bb76bdcaf779e9dbe7231303b4 (patch)
tree0d21019146dc7f951a351f0976b499a9a6e6c0ad /getarch.c
parent1937b4e435cce48dbf8d7d124800e03e1ba5d30d (diff)
downloadopenblas-bc93f468ef98c7bb76bdcaf779e9dbe7231303b4.tar.gz
openblas-bc93f468ef98c7bb76bdcaf779e9dbe7231303b4.tar.bz2
openblas-bc93f468ef98c7bb76bdcaf779e9dbe7231303b4.zip
Add Elbrus E2000 architecture as generic x86_64 compatible
Diffstat (limited to 'getarch.c')
-rw-r--r--getarch.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/getarch.c b/getarch.c
index 73bbf1892..00e544bc7 100644
--- a/getarch.c
+++ b/getarch.c
@@ -1536,6 +1536,17 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#endif
+#if defined(FORCE_E2K) || defined(__e2k__)
+#define FORCE
+#define ARCHITECTURE "E2K"
+#define ARCHCONFIG "-DGENERIC " \
+ "-DL1_DATA_SIZE=16384 -DL1_DATA_LINESIZE=64 " \
+ "-DL2_SIZE=524288 -DL2_LINESIZE=64 " \
+ "-DDTB_DEFAULT_ENTRIES=64 -DDTB_SIZE=4096 -DL2_ASSOCIATIVE=8 "
+#define LIBNAME "generic"
+#define CORENAME "generic"
+#endif
+
#ifndef FORCE
#ifdef USER_TARGET