Skip to content

loongson/LoongArch-Documentation

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

* Changes
- Replace loongarch64-linux-gnuf64 with loongarch64-linux-gnu.
- Remove all loongarch32 multiarch specifiers.

* Several reasons for making the changes
- "f64" indicates the generic purpose ABI variant. So "gnuf64" seems unnecessary - can be replaced with "gnu".
  We see a related discussion in llvm [1]. And gnu is adopted by many popular archs [2].
- There is no 32-bit LoongArch chips and operating systems at present and we are not sure whether 32-bit hardware
  is allowed or necessary to support 64-bit floating-point. So it's better not define the tuples for now.

[1]. https://reviews.llvm.org/D135751#3851867
[2]. https://wiki.debian.org/Multiarch/Tuples
55dbaad

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

LoongArch Documentation

Click the links below for more details:

Introduction

The documentation for LoongArch.

  • You can find documents online here.

  • You can find all historical versions here.

The HTML versions are more readable than the PDF versions, not only because there exists tables of excessive length, but also because the theme of HTML versions is easier to customize. To make it easier to download, each HTML page contains embedded CSS and images.

Documents

  • LoongArch Reference Manual - Volume 1: Basic Architecture: This manual describes the basic part of the LoongArch architecture.

  • LoongArch Reference Manual - Volume 2: Vector Extensions: This manual describes the vector extensions (SIMD and Advanced SIMD Extensions) of the LoongArch architecture. (TBD)

    • HTML version.

    • PDF version.

    • Original document.

  • LoongArch Reference Manual - Volume 3: Virtualization and Binary Translation Extensions: This manual describes the virtualization and binary translation extensions of the LoongArch architecture. (TBD)

    • HTML version.

    • PDF version.

    • Original document.

  • Loongson 3A5000/3B5000 Processor Reference Manual - Multicore Processor Architecture, Register Descriptions and System Software Programming Guide: This manual introduces the Loongson 3A5000/3B5000 multicore processor architecture and register descriptions.

  • Loongson 7A1000 Bridge User Manual: This manual describes the overall bridge architecture, clock structure, address space, configuration registers, and individual functional interfaces, primarily for BIOS and kernel developers.

  • LoongArch ELF ABI: This manual describes the LoongArch ELF ABI.

  • LoongArch Processor SMBIOS Spec: This document introduces additional information about LoongArch in SMBIOS.