RISC?CISC - PowerPoint PPT Presentation

About This Presentation
Title:

RISC?CISC

Description:

... jr rs Sun Sparc MIPS R10000 IBM PowerPC Comaq Alpha Intel X86 Motorola M68000 ... – PowerPoint PPT presentation

Number of Views:83
Avg rating:3.0/5.0
Slides: 17
Provided by: 20981
Category:
Tags: cisc | m68000 | risc

less

Transcript and Presenter's Notes

Title: RISC?CISC


1
???????????(2)
?????
  • ?? ??
  • ???? ??? ????????? ???????
  • ???? ??? ?????
  • ????
  • ????
  • RISC?CISC
  • ???????

2
????
  • ??????
  • ????????????????????????????
  • ????
  • ?? (????????????????)
  • ????(??????)
  • ????
  • ??????? 830 - 1000?3-31
  • ??????(???????????)
  • url http//www.mtl.t.u-tokyo.ac.jp/sakai/micro
    /
  • ??????
  • Patterson and Hennessy Computer Organization and
    DesignThe Hardware/Software Interface 2nd Ed.
    (?? ??????????????(?2?)??BP)

3
????????(???)
  • 1.????????????????
  • ??????????????????????????????????????????????????
    ??????????
  • 2.????????
  • RISC?CISC???????????????????????
  • ???????????????????
  • 3.????????
  • 4.?????????
  • 5.????
  • 2?15? ?????????????(?)

4
2.????????
  • ??
  • ?????????????????
  • ????? ??????????????????????
  • ????? ????????????????????
  • ??????????????????????

5
2.1 RISC?CISC
  • ????????????
  • RISC Reduced Instruction Set Computer
  • CISC Complex Instruction Set Computer

CISC
RISC
??
???
???
???
?????
????
??
??
??????? (?????????)
???
??
?????
Sun Sparc MIPS R10000 IBM PowerPC Comaq Alpha
Intel X86 Motorola M68000
?
6
RISC vs. CISC
  • ??????
  • CISC??????(1960???)
  • ???????
  • ?????(????????????)????????????????????????
  • CISC????
  • ????????????????????
  • ?????
  • ???????????????
  • ??????????????
  • RISC??????
  • 1980????? Cocke (IBM, Turing Award Winner),
    Patterson(UCB), Hennessy(Stanford)?
  • ?RISC?CISC????????!
  • Intel?????CISC???RISC?????????????

7
2.2 ?????
  • ??????
  • ?????????????????
  • ??????
  • ?????????????
  • ???????
  • ???(????????)????(????????)
  • ??????
  • ???????( ?gt?lt??????)
  • ?????????

8
2.3 ??????
  • ??????????
  • ??
  • add, addu(add unsigned)
  • addi(add immdediate), addiu(add imm. unsign.)
  • ??
  • sub, subu
  • ??
  • mult, multu
  • ??
  • div, divu
  • ?????
  • sla(shift left arithmetic), sra(shift right
    arithmetic)

9
?????????
  • rd rs rt??? ?????????
  • ??????????
  • add rd rs rt

IR Instructioin Register
rd
rs
rt
add
????
rs
ALU
rd

rt
?????
??????
10
?????????(??)
  • ??
  • ???????????(????????)
  • ????????????
  • ?????? ????????????
  • 0?? ???0
  • ??????
  • ?????????????(??????????????????)?

11
2.4 ??????
  • ??????????
  • ???
  • and, andi (and immediate)
  • ???
  • or, ori (or immediate)
  • ?????
  • sll (shift left logical), srl (shift right
    logical)
  • ??????
  • bsop (bit string operation)
  • ?????????
  • ????????????

12
2.5 ???????
  • ???????????
  • ??????????
  • lw (load word), lh (load half word), lb (load
    byte)
  • li (load immediate)
  • ??????????
  • sw (store word), sh (store half word), sb (store
    byte)
  • si (store immediate)
  • ????????????????
  • swp (swapp)
  • ????????????
  • in
  • ???????????
  • out
  • (?)???????????????????????????????

13
??????????
  • rd lw rd from dpl(rs) ??? 1????
  • ??????????
  • lw rd dpl(rs)

IR Instructioin Register
???
rs
dpl
rd
lw

rs
?????
rd
???????
??????
????
14
2.6 ??????
  • ??????????
  • ?????????
  • beq(branch on equal), bne(branch on not equal)
  • blt(branch on less than), ble(branch on less than
    or equal)
  • ???? ????????????????
  • (?????????????)
  • slt(set on less than), slti(set less than imm.)
  • sltu(set less than unsigned), sltiu(set less than
    imm. uns.)
  • ???????
  • jpcc(jump on condition code)

15
?????????
  • beq rs rt dpl ??? ?????PC????

IR Instructioin Register
1
rs
dpl
rt
beq
Y N
rs
?

?????
rt
PC Program Counter
???????
??????
instruction address
????
16
2.7 ?????????
  • ?????????????
  • ????
  • j (jump), jr (jump register)
  • ??????????
  • jal (jump and link), trap
  • ????????????jr rs ???

rs
jr
IR Instructioin Register
rs
?????
PC Program Counter
???????
instruction address
????
Write a Comment
User Comments (0)
About PowerShow.com