Skip to content

Commit f8ec538

Browse files
authored
Add Ampere EMAG8180
1 parent ca4f7dc commit f8ec538

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

getarch.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,22 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10931093
#else
10941094
#endif
10951095

1096+
#ifdef FORCE_EMAG8180
1097+
#define ARMV8
1098+
#define FORCE
1099+
#define ARCHITECTURE "ARM64"
1100+
#define SUBARCHITECTURE "EMAG8180"
1101+
#define SUBDIRNAME "arm64"
1102+
#define ARCHCONFIG "-DEMAG8180 " \
1103+
"-DL1_CODE_SIZE=32768 -DL1_CODE_LINESIZE=64 -DL1_CODE_ASSOCIATIVE=8 " \
1104+
"-DL1_DATA_SIZE=32768 -DL1_DATA_LINESIZE=64 -DL1_DATA_ASSOCIATIVE=8 " \
1105+
"-DL2_SIZE=262144 -DL2_LINESIZE=64 -DL2_ASSOCIATIVE=8 " \
1106+
"-DL3_SIZE=33554432 -DL3_LINESIZE=64 -DL3_ASSOCIATIVE=32 " \
1107+
"-DDTB_DEFAULT_ENTRIES=64 -DDTB_SIZE=4096 " \
1108+
"-DHAVE_VFPV4 -DHAVE_VFPV3 -DHAVE_VFP -DHAVE_NEON -DARMV8"
1109+
#define LIBNAME "emag8180"
1110+
#define CORENAME "EMAG8180"
1111+
#endif
10961112

10971113
#ifdef FORCE_ZARCH_GENERIC
10981114
#define FORCE

0 commit comments

Comments
 (0)