
Computer Architecture
CaspianSea
这个作者很懒,什么都没留下…
展开
-
MIPS 的寄存器
MIPS 有32个寄存器(0~31), 每个寄存器各有不同的用途。寄存器 zero ( 0): 0 常量。不能保存数据寄存器 at (1): 预留给 汇编编译器用寄存器 v0 (2) v1 (3) : 这两个寄存器用来保存函数的返回值寄存器 a0 (4) a1 (5)原创 2013-12-20 00:23:36 · 5309 阅读 · 0 评论 -
Memory barrier An illustrative example
When a program runs on a single-CPU machine, the hardware performs the necessary bookkeeping to ensure that the program executes as if all memory operations were performed inthe order specified by t转载 2014-08-03 19:17:20 · 882 阅读 · 0 评论 -
ARM指令中标志位的定义
C flag:For a subtraction, including the comparison instructionCMP, C is set to 0 if the subtraction produced a borrow (that is, an unsigned underflow), and to 1 otherwise.Z flag: Is set to 1 if th转载 2014-08-08 07:19:07 · 2733 阅读 · 1 评论 -
Arm Instruction Condition Codes
very practical general-purpose computing architecture has a mechanism of conditionally executing some code. Such mechanisms are used to implement theif construct in C, for example, in addition to se转载 2014-08-08 03:24:04 · 3278 阅读 · 0 评论 -
ARM 寄存器
1. 通用寄存器 r0 ~r15原创 2014-07-29 02:41:14 · 679 阅读 · 0 评论 -
Memory access ordering Part 1 - an introduction
Memory access ordering - an introductionPosted by leiflindholm in ARM Processors on Mar 22, 2011 3:36:00 PM I recently gave a presentation at the Embedded Linux Conference Europe 2010 called转载 2015-01-27 08:15:11 · 919 阅读 · 0 评论 -
Memory access ordering part 2 - barriers and the Linux kernel
Memory access ordering part 2 - barriers and the Linux kernelPosted by leiflindholm in ARM Processors on Apr 11, 2011 4:05:00 PM My previous post provided an introduction to the concept of mem转载 2015-01-27 08:17:36 · 1132 阅读 · 0 评论 -
Memory access ordering part 3 - memory access ordering in the ARM Architecture
Memory access ordering part 3 - memory access ordering in the ARM ArchitecturePosted by leiflindholm in ARM Processors on Oct 19, 2011 6:36:00 PM In my previous posts, I have introduced th转载 2015-01-27 08:20:06 · 1625 阅读 · 0 评论 -
pipelining
To make it easier to navigate this post, here are the contents:-------------------------------------- A. Data Hazards 1. Needing to forward 2. Needing to stall 3. Not needing anything转载 2015-01-28 08:13:23 · 806 阅读 · 0 评论