Difference between revisions of "Loongson"

From LinuxMIPS
Jump to: navigation, search
m (Devices based on this CPU)
(Add what it looks like in /proc/cpuinfo, for interest.)
Line 61: Line 61:
 
English version
 
English version
 
* [http://dev.lemote.com/files/resource/documents/Loongson/ls2f/Loongson2FUserGuide.pdf http://dev.lemote.com/files/resource/documents/Loongson/ls2f/Loongson2FUserGuide.pdf]
 
* [http://dev.lemote.com/files/resource/documents/Loongson/ls2f/Loongson2FUserGuide.pdf http://dev.lemote.com/files/resource/documents/Loongson/ls2f/Loongson2FUserGuide.pdf]
 +
 +
=== Appearance to Operating System ===
 +
 +
The following shows the contents of /proc/cpuinfo using Linux kernel 2.6.18.1-fl2f-v1.02
 +
 +
$ cat /proc/cpuinfo
 +
system type            : lemote-fulong
 +
processor              : 0
 +
cpu model              : Godson2 V0.3  FPU V0.1
 +
BogoMIPS              : 532.48
 +
wait instruction      : no
 +
microsecond timers    : yes
 +
tlb_entries            : 64
 +
extra interrupt vector : no
 +
hardware watchpoint    : no
 +
ASEs implemented      :
 +
VCED exceptions        : not available
 +
VCEI exceptions        : not available
  
 
== Optimizing GNU/Linux distributions for Loongson 2F ==
 
== Optimizing GNU/Linux distributions for Loongson 2F ==

Revision as of 12:47, 3 September 2010

This article is a stub. You can help by expanding it

Loongson 2E

Loongson 2E was designed by ICT (Institute of Computing Technology), a department of The Chinese Academy of Sciences, helped and manufactured by STMicroelectronics.

ST Generic Part Number: STLS2E02

Features

Microarchitecture:

  • 64 bit
  • 9 pipeline stages
  • 4-issue Out-Of-Order Executive
  • 2 ALU, 2 FALU, 1 SIMD, 1 Load/Store Units

ISA: MIPS III

Cache: 64KB L1 date, 64KB L1 instruction, on-chip 512KB L2.

Clock Frequency: 600MHz - 800MHz.

TDP: 4 Watt at 700MHz

Integrated: DDR-333 memory controller.

Highlights

  • ST's Leading Edge 90nm process.
  • Some new instructions: Allow write to register directly without MFLO or MFHI.
  • Some new instructions: MADD.[S|D] MSUB.[S|D] NMADD.[S|D] NMSUB.[S|D].
  • Some new SIMD instructions: similar to MMX, using FPU for parallel fixed-point arithmetic.
  • An Execution bit: help OS to protect from buffer-flow attack.

Devices based on this CPU

Processor documentation

Chinese version

English version

Loongson 2F

Loongson 2F is the latest processor in Loongson 2 Family. Also manufactured by STMicroelectronics.

It is identical to the Loongson 2E with several improvements:

  • Higher Clock Frequency: 1.2GHz maximum
  • Advanced power control technology: less than 6 Watt under 1GHz in the same 90nm
  • Integrated DDR2 controller
  • Integrated northbridge providing faster IO (compared with former PCI bus) with PCI-X 66 bus
  • Smaller Packaging.

Devices based on this CPU

Processor documentation

Chinese version

English version

Appearance to Operating System

The following shows the contents of /proc/cpuinfo using Linux kernel 2.6.18.1-fl2f-v1.02

$ cat /proc/cpuinfo
system type            : lemote-fulong
processor              : 0
cpu model              : Godson2 V0.3  FPU V0.1
BogoMIPS               : 532.48
wait instruction       : no
microsecond timers     : yes
tlb_entries            : 64
extra interrupt vector : no
hardware watchpoint    : no
ASEs implemented       :
VCED exceptions        : not available
VCEI exceptions        : not available

Optimizing GNU/Linux distributions for Loongson 2F

Loongson2f software works considerably faster if compiled with the correct flags. Also, some flags are required to work around processor bugs early in the production runs.

Contributing

See also