diff options
author | laksen <laksen@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2015-03-13 19:22:27 +0000 |
---|---|---|
committer | laksen <laksen@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2015-03-13 19:22:27 +0000 |
commit | 714d64b42e43bb7da9a3d31404309669bcc2a4d6 (patch) | |
tree | 799ffab795ddf36dbeb20b21d899479437ff8144 /compiler/utils | |
parent | c972f9af39f957a4007bd54114ceab0937f12e2b (diff) | |
download | fpc-714d64b42e43bb7da9a3d31404309669bcc2a4d6.tar.gz |
Merge from armiw branch.
Update ARM internal assembler to support most ARM, Thumb and Thumb-2 instructions.
Changed generation of VFP instructions to use UAL mnemonics.
Added divided and unified assembler syntax support to ARM assembly reader.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@30181 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/utils')
-rw-r--r-- | compiler/utils/mkarmins.pp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/compiler/utils/mkarmins.pp b/compiler/utils/mkarmins.pp index b8b9067120..ad423285e5 100644 --- a/compiler/utils/mkarmins.pp +++ b/compiler/utils/mkarmins.pp @@ -186,7 +186,7 @@ var opcode, codes, flags : string; - optypes : array[1..4] of string; + optypes : array[1..6] of string; begin writeln('Narm Instruction Table Converter Version ',Version); insns:=0; @@ -298,6 +298,8 @@ begin optypes[2]:=''; optypes[3]:=''; optypes[4]:=''; + optypes[5]:=''; + optypes[6]:=''; codes:=''; flags:=''; skip:=false; @@ -324,8 +326,8 @@ begin else break; until false; - for j:=1 to 4-ops do - optypes[4-j+1]:='ot_none'; + for j:=1 to 6-ops do + optypes[6-j+1]:='ot_none'; { codes } skipspace; j:=0; @@ -385,7 +387,7 @@ begin writeln(insfile,' ('); writeln(insfile,' opcode : ',opcode,';'); writeln(insfile,' ops : ',ops,';'); - writeln(insfile,' optypes : (',optypes[1],',',optypes[2],',',optypes[3],',',optypes[4],');'); + writeln(insfile,' optypes : (',optypes[1],',',optypes[2],',',optypes[3],',',optypes[4],',',optypes[5],',',optypes[6],');'); writeln(insfile,' code : ',codes,';'); writeln(insfile,' flags : ',flags); write(insfile,' )'); |