{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

chapter1-AppendixA-m2-ziavras

Culler d patterson ucb s ziavras control flow vs data

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: execution of any instruction to be driven by data (operand) availability. High-degree of parallelism at the fine-grain instructional level Some material is adapted from D. Culler & D. Patterson (UCB) S. Ziavras Control Flow Vs. Data Flow Loop Fetch Fetch PC = PC + 1 Decode Operand Fetch Fetch Execute Write Back Loop Some material is adapted from D. Culler & D. Patterson (UCB) Dataflow Execution • Not possible to describe the operation into neat, discrete steps • Results obtained from obtained from executed instruction are called data tokens • Data tokens are passed directly between instructions • Receiving instructions check conditions and fire if conditions are met are met S. Ziavras Control Flow Vs. Data Flow (2) Control-flow example 1. C=A+B 2. D=C*A 3. E=C-B 4. F=C+D Dataflow execution A B + C E Execution follows operations in data in data-flow graph graph Some material is adapted from D. Culler & D. Patterson (UCB) * + D F S. Ziavras Control Flow Vs. Data Flow (3) • Dataflow computer: instruction execution driven by data availability ♦ In theory, an instruction is ready for theory an instruction is ready for execution when all its operands become available ♦ Instructions are not ordered ♦ Data directly held inside instructions di ♦ Data generated by an instruction are replicated into many copies & forwarded directly to instructions that need it, in the form of data tokens th it th ♦ Data tokens, once consume...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern