Difference between revisions of "Loongson"
(→Loongson 2E) |
BenHutchings (Talk | contribs) (Fix broken links to processor documentation) |
||
| (31 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
| + | [[Category:Loongson]] | ||
==Loongson 2E== | ==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. | Loongson 2E was designed by ICT (Institute of Computing Technology), a department of The Chinese Academy of Sciences, helped and manufactured by STMicroelectronics. | ||
| Line 9: | Line 9: | ||
'''Microarchitecture:''' | '''Microarchitecture:''' | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | * 64 bit | |
| + | * 9 pipeline stages | ||
| + | * 4-issue Out-Of-Order Executive | ||
| + | * 2 ALU, 2 FALU, 1 SIMD, 1 Load/Store Units | ||
| − | ''' | + | '''ISA:''' [[Instruction_Set_Architecture#MIPS_III|MIPS III]] |
| − | '''Clock | + | '''Cache:''' 64KB L1 data, 64KB L1 instruction, on-chip 512KB L2. |
| + | |||
| + | '''Clock Frequency:''' 600MHz - 800MHz. | ||
'''TDP:''' 4 Watt at 700MHz | '''TDP:''' 4 Watt at 700MHz | ||
| Line 24: | Line 25: | ||
'''Integrated:''' DDR-333 memory controller. | '''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 === | |
| + | * [[Fuloong]] | ||
| − | + | === Processor documentation === | |
| + | Chinese version | ||
| + | * http://dev.lemote.com/files/resource/documents/Loongson/ls2e/godson2e.user.manual.pdf | ||
| + | English version | ||
| + | * http://dev.lemote.com/files/resource/documents/Loongson/ls2e/godson2e-user-manual-V0.6.pdf | ||
| − | + | == 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 === | ||
| + | * [[Fuloong]] | ||
| + | === Processor documentation === | ||
| + | Chinese version | ||
| + | * http://www.loongson.cn/uploadfile/file/20080821113149.pdf | ||
| + | English version | ||
| + | * [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 | + | The following shows the contents of /proc/cpuinfo using Linux kernel 2.6.35 |
| − | ---- | + | $ cat /proc/cpuinfo |
| + | system type : lemote-fuloong-2f-box | ||
| + | processor : 0 | ||
| + | cpu model : ICT Loongson-2 V0.3 FPU V0.1 | ||
| + | BogoMIPS : 530.43 | ||
| + | wait instruction : no | ||
| + | microsecond timers : yes | ||
| + | tlb_entries : 64 | ||
| + | extra interrupt vector : no | ||
| + | hardware watchpoint : yes, count: 0, address/irw mask: [] | ||
| + | ASEs implemented : | ||
| + | shadow register sets : 1 | ||
| + | core : 0 | ||
| + | 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. | |
| − | * [http:// | + | * [http://dev.lemote.com/code/linux-loongson-community Linux on Loongson Community] hosted at Lemote. |
| − | + | ||
| − | + | ||
| − | == | + | ===Discussion Threads=== |
| − | * [ | + | * [http://groups.google.com/group/loongson-dev/browse_thread/thread/b5a981eb8b0d5f95/44000411e1eb7f4e#44000411e1eb7f4e Current loongson2f linux version / compiler / version flags wisdom?] |
| + | * [http://groups.google.com/group/loongson-dev/browse_thread/thread/08ee750be0a407a9 Taking full advantage of MIPSEL / loongson2f CPU] | ||
| − | == | + | == Contributing == |
| − | + | ||
| − | * http://www. | + | * [[Loongson Todo List]] |
| − | + | ||
| − | * http://www. | + | == See also == |
| + | * http://www.st.com/stonline/products/literature/bd/13367.htm | ||
| + | * [http://www.loongson.cn/ Chinese-language Loonson website] | ||
| + | * [http://en.wikipedia.org/wiki/Godson_II Loongson on Wikipedia] | ||
| + | * [http://www.cyrius.com/journal/2007/03/08 Martin Michlmayr's journal entry regarding Loongson (2007-03-08)] | ||
| + | * [http://linuxdevices.com/news/NS5724036154.html Announcement of Godson-1 boards (2003-12-11)] | ||
Latest revision as of 22:03, 26 June 2011
Contents |
This article is a stub. You can help by expanding it
[edit] 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 data, 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.
[edit] Devices based on this CPU
[edit] Processor documentation
Chinese version
English version
[edit] 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.
[edit] Devices based on this CPU
[edit] Processor documentation
Chinese version
English version
[edit] Appearance to Operating System
The following shows the contents of /proc/cpuinfo using Linux kernel 2.6.35
$ cat /proc/cpuinfo system type : lemote-fuloong-2f-box processor : 0 cpu model : ICT Loongson-2 V0.3 FPU V0.1 BogoMIPS : 530.43 wait instruction : no microsecond timers : yes tlb_entries : 64 extra interrupt vector : no hardware watchpoint : yes, count: 0, address/irw mask: [] ASEs implemented : shadow register sets : 1 core : 0 VCED exceptions : not available VCEI exceptions : not available
[edit] 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.
- Linux on Loongson Community hosted at Lemote.
[edit] Discussion Threads
- Current loongson2f linux version / compiler / version flags wisdom?
- Taking full advantage of MIPSEL / loongson2f CPU