CPSC 313 Study Guide - Final Guide: Memory Management Unit, Hlah, Beaufort Scale

471 views2 pages

Document Summary

Decode: dste ra or rb if concerned with write-back, else f, dstm ra or rb if reading from mem (valm ) else f. Execute vale what the alu computes (! 0 + is a thing!: cnd [conditional] cond (cc, ifun); don"t need to know cc. Memory: m8[vale] vala; for writing valm m8[vale]; for reading. Write-back: r[dste] non-mem; for writing to memory, r[dstm] mem result; for reading from memory. Casual: ins. reads value written by previous ins. Output: ins. writes to location written to by previous ins. Stalls for pipe minus: data hazard = 3 stalls, conditional = 2 stalls, unconditional jump = no stall. Stalls for pipe plus: mrmovq and popq (1 stall) Everything else: no stalls because data forwarded from execute -> decode. Address is made of cache tag, cache offset, cache index. Address for set-ass cache: tag, set index, block offset. # of bits of cache index = log2(s)

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers

Related Documents