Week 13 Flashcards

1
Q

_____ determines the ordering of an instruction J, with respect to a branch instruction so that J is executed in both correct program order and only when it should be

A

Control dependence (Every instruction after the first branch is control dependent on some set of branches)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True / false: An instruction that is control dependent of a branch can be scheduled before the branch

A

FALSE – if scheduled before, it would no longer be controlled by the branch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The correct sequence of instruction execution is called the _____

A

instruction execution trace

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what, exactly, is a branch instruction?

A

a bit string that, when interpreted according to the instruction format, has a certain opcode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

_____ of instructions within a basic block cannot change program control flow

A

static scheduling

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what are some compilation techniques used to reduce stalls?

A

register allocation – use registers to reduce accesses to slower storage (SRAM, DRAM)
static instruction scheduling: reorder machine instructions from obvious compiled order to reduce depencdence-caused stalls
single assignment – reduce/eliminate false data dependences by reducing / eliminating reuse of storage locations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what does static instruction scheduling do?

A

Reorders machine instructions from obvious compiled order to reduce dependence-caused stalls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly