summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2015-02-23 22:50:38 +0000
committerjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2015-02-23 22:50:38 +0000
commit35a7094fd86e6b348a846818c551cd8d3a3d1b15 (patch)
tree2e43063d90534cc7231e420361b10d8c87b45438
parent4d15b0fb3415d907018ed32bc7ea7821ae7326d1 (diff)
downloadfpc-35a7094fd86e6b348a846818c551cd8d3a3d1b15.tar.gz
+ aarch64 cpu identifier
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29876 3ad0048d-3df7-0310-abae-a5850022a9f2
-rw-r--r--compiler/ppu.pas6
-rw-r--r--compiler/systems.inc3
-rw-r--r--compiler/systems.pas3
-rw-r--r--compiler/utils/ppuutils/ppudump.pp3
4 files changed, 10 insertions, 5 deletions
diff --git a/compiler/ppu.pas b/compiler/ppu.pas
index 634d7e545e..8a60f71aed 100644
--- a/compiler/ppu.pas
+++ b/compiler/ppu.pas
@@ -188,7 +188,8 @@ const
{ 12 } 16 {'avr'},
{ 13 } 32 {'mipsel'},
{ 14 } 32 {'jvm'},
- { 15 } 16 {'i8086'}
+ { 15 } 16 {'i8086'},
+ { 16 } 64 {'aarch64'}
);
CpuAluBitSize : array[tsystemcpu] of longint =
(
@@ -207,7 +208,8 @@ const
{ 12 } 8 {'avr'},
{ 13 } 32 {'mipsel'},
{ 14 } 64 {'jvm'},
- { 15 } 16 {'i8086'}
+ { 15 } 16 {'i8086'},
+ { 16 } 64 {'aarch64'}
);
{$endif generic_cpu}
diff --git a/compiler/systems.inc b/compiler/systems.inc
index 332de6ba5b..481b99b40d 100644
--- a/compiler/systems.inc
+++ b/compiler/systems.inc
@@ -49,7 +49,8 @@
cpu_avr, { 12 }
cpu_mipsel, { 13 }
cpu_jvm, { 14 }
- cpu_i8086 { 15 }
+ cpu_i8086, { 15 }
+ cpu_aarch64 { 16 }
);
tasmmode= (asmmode_none
diff --git a/compiler/systems.pas b/compiler/systems.pas
index 19f741f89b..2e88f16886 100644
--- a/compiler/systems.pas
+++ b/compiler/systems.pas
@@ -355,7 +355,8 @@ interface
cpu2str : array[TSystemCpu] of string[10] =
('','i386','m68k','alpha','powerpc','sparc','vm','ia64','x86_64',
- 'mips','arm', 'powerpc64', 'avr', 'mipsel','jvm', 'i8086');
+ 'mips','arm', 'powerpc64', 'avr', 'mipsel','jvm', 'i8086',
+ 'aarch64');
abiinfo : array[tabi] of tabiinfo = (
(name: 'DEFAULT'; supported: true),
diff --git a/compiler/utils/ppuutils/ppudump.pp b/compiler/utils/ppuutils/ppudump.pp
index e4f618e154..79c7a08679 100644
--- a/compiler/utils/ppuutils/ppudump.pp
+++ b/compiler/utils/ppuutils/ppudump.pp
@@ -76,7 +76,8 @@ const
{ 12 } 'avr',
{ 13 } 'mipsel',
{ 14 } 'jvm',
- { 15 } 'i8086'
+ { 15 } 'i8086',
+ { 16 } 'aarch64'
);
{ List of all supported system-cpu couples }