Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(42 pts) 2. Medium answer (6 points each) (2.1). A program requires executing 100 million instructions on a processor which typically with CPI of 2

image text in transcribed
(42 pts) 2. Medium answer (6 points each) (2.1). A program requires executing 100 million instructions on a processor which typically with CPI of 2 and a 2GHz clock. How much time will the program take? (2.2), Assuming variable a is stored in register x5, b is stored in x6, e is stored in x7, and the result h is to be stored in x8, what is the RISC-V assembly instructions equivalent to the C statement h (atb) (c-5) (2.3) When determine the CPU performance, CPU time is related to Instruction count, CPI and clock cycle. Please fill out the following table to check which aspects are affected by the specific hardware and software component. Instruction count CPI Clock cycle Algorithm ISA Complier (2.4). Translate the c statement A[101-h + A131 to RSC-V assembley instructions. assuming h in x21, base address of A in x22, and each array element is a doubleword (64 bit). sd: store doubleword (ld: load doubleword, in RISC-V)

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

Step: 3

blur-text-image

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

Relational Database Technology

Authors: Suad Alagic

1st Edition

354096276X, 978-3540962762

More Books

Students also viewed these Databases questions

Question

Which form of proof do you find least persuasive? Why?

Answered: 1 week ago