Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Give one example of each of the following. Be detailed and explain why using gra

ID: 3763280 • Letter: G

Question

Give one example of each of the following. Be detailed and explain why using graphs and charts when needed. A hint of the direction expected in the answer is provided. You must explain with specific examples and detailed explanation.

a) An applications where VLIW is superior in performance to superscalar.

Answer Hint – This is a subset of the answer expected. Please use this concepts and present a detailed explanation using graphs and charts, when needed.

VLIW hardware is simpler than superscalar hardware since the logic for detecting dependencies does not have to be included. Superscalar processors have a limited issue width due to the dependency checking complexity. Since VLIWs do not have this complex detection hardware, more room is available for wider issue, more functional units, and higher speeds. If an application has wide parallelism, the VLIW is better. Compiler methods can search a larger window for ILP.

---------------------------------------------------------------------------------------------------------

b) An example where a VLIW is superior in performance to a vector processor.

Answer hint – This is a subset of the answer expected. Please use this concepts and present a detailed explanation using graphs and charts, when needed.

VLIW is better when different operations occur in parallel instead of the same operation on multiple data elements.

---------------------------------------------------------------------------------------------------------

c) An example where a superscalar is superior in performance to a VLIW.

Answer hint – This is a subset of the answer expected. Please use this concepts and present a detailed explanation using graphs and charts, when needed.

Superscalars have a superior performance when dependencies are better determined at run time or if a VLIW compiler is not powerful enough to identify the same dependencies statically. It is also Superior to running legacy code that would have to be transformed by binary-binary translation or code-morphing (Transmeta) on a VLIW.

---------------------------------------------------------------------------------------------------------

d) An example where a vector processor is superior in performance to a VLIW.

Answer hint – This is a subset of the answer expected. Please use this concepts and present a detailed explanation using graphs and charts, when needed.

Superscalars have a superior performance when dependencies are better determined at run time or if a VLIW compiler is not powerful enough to identify the same dependencies statically. It is also superior to running legacy code that would have to be transformed by binary-binary translation or code-morphing (Transmeta) on a VLIW.

Explanation / Answer

d)vector processor is superior in performance
example:
Lets assume two vectors with name A and B with Number of elements as 64.
it indicates vector size
A=a0,a2,a4.....,an-1
B=b0,b2,b4,----,bn-1

using for loop
for (int i=;i<n;i++)
c[i]=a[i]+b[i]
the additional operation known as scalar operation.
using single instruction vector replaces the entire for loop.
so that vector processors gives superior performance.

c)superscalar is superior in performance to a VLIW

it execute parallel code generated by custom this code eliminates and the need buffering vectors
of a the partial results.
it reduces the regitser in superclass machine .

simple program:
for i:=0 to n-1 do begin
d[i]:=a[i]+b[i]+d[i];
end;

scalar code :
for i:=0 to n-1 do begin
s:=a[i]+b[i];
d[i]:=s+d[i];
end;

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote