Add LoongArch64 support
Summary
- These patches add for one new architecture named LoongArch for FreePascal. [1] is one
- repositories of LoongArch include the open souce with LoongArch support. [2] is the document
- repository for LoongArch include the instruciton set and ABI manual.
- The past development of Loongson processor(Loongson Technology Corporation Limited) was based on MIPS.
- Now Loongson tech developed LoongArch architecture.
- So LoongArch is somewhat similar to MIPS, also include some feature of other RISC
- architectures such as aarch64, riscv, etc.
- Patches that support LoongArch refer to many other architectures, refered to RISCV mostly.
- [1] https://github.com/loongson/
- [2] https://loongson.github.io/LoongArch-Documentation/README-EN.html
System
- **Operating system: Linux
- **Processor architecture: LoongArch64
- **Device: Computer
What is the current bug behavior?
None
What is the behavior after applying this patch?
Add LoongArch64 support
Relevant logs and/or screenshots
Total = 8833 (37:8796)
Total number of compilations = 5476 (16:5460)
Successfully compiled = 4131
Successfully failed = 1329
Compilation failures = 14
Compilation that did not fail while they should = 2
Total number of runs = 3357 (21:3336)
Successful runs = 3336
Failed runs = 21
Number units compiled = 176
Number program that should not be run = 594
Number of skipped tests = 702
Number of skipped graph tests = 10
Number of skipped interactive tests = 33
Number of skipped known bug tests = 7
Number of skipped tests for other versions = 5
Number of skipped tests for other cpus = 527
Number of skipped tests for other targets = 120
Successful runs = 3336
Failed runs = 21
Number units compiled = 176
Number program that should not be run = 594
Number of skipped tests = 702
Number of skipped graph tests = 10
Number of skipped interactive tests = 33
Number of skipped known bug tests = 7
Number of skipped tests for other versions = 5
Number of skipped tests for other cpus = 527
Number of skipped tests for other targets = 120