Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Computer Architecture and Organization. Two part question..please help with both! PARALLEL SOTA LDUR X4, ADDI x6, [X6, #0] x6, #8 ; load a[0] : increment

Computer Architecture and Organization.
Two part question..please help with both! image text in transcribed
image text in transcribed
image text in transcribed
PARALLEL SOTA LDUR X4, ADDI x6, [X6, #0] x6, #8 ; load a[0] : increment memory address 2 3. LOOP: MOV X8, x4 BEQ X1, X2, JMARK Branch bl :if x1X2 goto JMARK ADD! STUR X8, ADDI X1, X1, #1 ADDI x6, x6, #8 MOV X4, x8 BNEQ x1, x10, Loop X8, X8, (X6, #1 a[i-a[i]+ 1 ; store a[i] : increment loop counter : increment memory address 6.1 JMARK : #0] 10. Branch b2 ; if x1 !.. X10 goto Loop UNIVERSITYof HOUSTON PARALLEL SOFTWARE (6 pts) . Part a. Find all data dependencies, output dependencies, anti-dependencies in the code segment. Note: please execute the loop only once (i.e. you do not have to track loop dependencies across the different iterations). wh My Assignments Log in l PopBooki o Putlocker-Watch G Part b. Use a 1 bit predictor to predict the outcome of the Branch b1. Complete the following table. Assume that the initial state of the branch predictor is 0. Value of i Branch Prediction Actual or X1 Misprediction? predictor for (Taken/Not outcome of (Yes/No) Branch b1 taken) branch b1 4 UNIVERSITYof HOUSTON (8 pts) PSTL . Part b. Use a 2 bit predictor to predict the outcome of the Branch b1. Complete the following table. Assume that the initial state of the branch predictor is 01 Misprediction? Value of i or X1 Branch predictor for (Taken/Not outcome of (Yes/No) Branch b1 taken) Prediction Actual branch b 01

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

1583473858, 978-1583473856

More Books

Students also viewed these Databases questions