Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Identify all of the different types of hazard detection for the following mips instructions that are to be run on a pipelined datapath.Identify all cases
Identify all of the different types of hazard detection for the following mips instructions that are to be run on a pipelined datapath.Identify all cases that require hazard detection (cases where forwarding cannot resolve the dependency).
ie. list sequences of mips instructions that will require stall cycles or flushing in the hazard detection.
Instruction Add Add Immediate Unsigned Word Add Unsigned Word Add Immediate Subtract Multiply Multiply Word Multiply Unsigned Word Code Type Code Instruction And And immediate Arithmetic add |Logical and or Not or Exclusive or Or immediate Exclusive or Immediate Sign-extend half word Shift left logical Shift right Logical Shift Word Left Logical Variable Shift Word Right Logical Variable SRLV Set on less than set on less than immediate move conditional on not zero move conditional on zero Rotate Word Right Variable Rotate word right Shift word right arithmetic Shift Word Right Arithmetic Variable Sign-Extend Byte nor sub Multiply and add word to Multiply and word to Data Load word Store word Store bvte Load half Load byte Store half Load Upper Immediate seb, Set on Less Than Immediate Unsignedsltiu, branch if greater than or equal to zero branch on equal branch on not equal branch on greater than zero Branch Set on Less Than Unsigned SLTU sltu bne mthi mtlo mfhi mflo bgtzHi/Lo Move to Hi Register Move to Lo Register Move from Hi Register Move from Lo Register branch on less than or equal to zeroblez bltz branch on less than zero um ump register ump and link al Instruction Add Add Immediate Unsigned Word Add Unsigned Word Add Immediate Subtract Multiply Multiply Word Multiply Unsigned Word Code Type Code Instruction And And immediate Arithmetic add |Logical and or Not or Exclusive or Or immediate Exclusive or Immediate Sign-extend half word Shift left logical Shift right Logical Shift Word Left Logical Variable Shift Word Right Logical Variable SRLV Set on less than set on less than immediate move conditional on not zero move conditional on zero Rotate Word Right Variable Rotate word right Shift word right arithmetic Shift Word Right Arithmetic Variable Sign-Extend Byte nor sub Multiply and add word to Multiply and word to Data Load word Store word Store bvte Load half Load byte Store half Load Upper Immediate seb, Set on Less Than Immediate Unsignedsltiu, branch if greater than or equal to zero branch on equal branch on not equal branch on greater than zero Branch Set on Less Than Unsigned SLTU sltu bne mthi mtlo mfhi mflo bgtzHi/Lo Move to Hi Register Move to Lo Register Move from Hi Register Move from Lo Register branch on less than or equal to zeroblez bltz branch on less than zero um ump register ump and link alStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started