This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
OSchip
/
OpenBLAS
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
66
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Merge pull request
#3207
from hjl-tools/hjl/cet/develop
x86: Enable Intel CET
tags/v0.3.15
Martin Kroeker
GitHub
4 years ago
parent
dc6b04c375
53ee0b76bb
commit
ae9cdee753
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
3 changed files
with
13 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
common.h
+2
-1
common_x86.h
+2
-1
common_x86_64.h
+ 9
- 0
common.h
View File
@@ -416,6 +416,15 @@ please https://github.com/xianyi/OpenBLAS/issues/246
#include "common_alpha.h"
#endif
#if (defined(ARCH_X86) || defined(ARCH_X86_64)) && defined(__CET__) && defined(__has_include)
#if __has_include(<cet.h>)
#include <cet.h>
#endif
#endif
#ifndef _CET_ENDBR
#define _CET_ENDBR
#endif
#ifdef ARCH_X86
#include "common_x86.h"
#endif
+ 2
- 1
common_x86.h
View File
@@ -340,7 +340,8 @@ REALNAME:
.align 16; \
.globl REALNAME ;\
.type REALNAME, @function; \
REALNAME:
REALNAME: \
_CET_ENDBR
#ifdef PROFILE
#define PROFCODE call mcount
+ 2
- 1
common_x86_64.h
View File
@@ -451,7 +451,8 @@ REALNAME:
.align 512; \
.globl REALNAME ;\
.type REALNAME, @function; \
REALNAME:
REALNAME: \
_CET_ENDBR
#ifdef PROFILE
#define PROFCODE call *mcount@GOTPCREL(%rip)
Write
Preview
Loading…
Cancel
Save