+/EE460N

computer architecture

git clone https://git.julia.blue/+/EE460N

Joseph RyanFix issues with jsr and rshf79335f9

master
6.1 KiB104 linesraw
1------------------------
2Grading for jryan
3------------------------
4An "x" in the "Incorrect" column indicates a test has failed
5
6=========================================================================
7Part A: Tests for individual states (1 points each)
8Each of these compares the result of rdump & mdump after run <n>
9where n is the value in column 3 below
10=========================================================================
11Name of     Instruction      Number of   Number of   Incorrect   Points
12Test Case                    Cycles      Differences
13=========================================================================
14initial                      0           0                 (Not a test case)
151           ADD              5           0                       1
162           AND              5           0                       1
173           XOR              5           0                       1
184           NOT              5           0                       1
195           ADD              5           0                       1
207           ADD              5           0                       1
218           AND              5           0                       1
229           XOR              5           0                       1
2310          LSHF             5           0                       1
2411          RSHFL            5           0                       1
2512          RSHFA            5           0                       1
2613          RSHFA            5           0                       1
2714          STB              5           2              x        0
2815          STB              5           0                       1
2916          STW              5           0                       1
3017          LDB              5           0                       1
3118          LDB              5           0                       1
3219          LDW              5           0                       1
3320          LEA              5           0                       1
3421          JMP              6           0                       1
3523          JMP              7           0                       1
3624          JMP              9           0                       1
3725          JSRR             6           0                       1
3826          JSRR             7           0                       1
3927          JSRR             9           0                       1
4029          RET              5           0                       1
4130          TRAP x25         2           0                       1
42dep11       dep.stall        4           0                       1
43dep12       dep.stall        7           0                       1
44dep13       dep.stall        8           0                       1
45dep14       dep.stall        11          0                       1
46br11        br.stall         4           0                       1
47br12        br.stall         7           0                       1
48br13        br.stall         10          0                       1
49br21        br.stall         6           0                       1
50br22        br.stall         8           0                       1
51br23        br.stall         9           0                       1
52br31        br.stall         4           0                       1
53br32        br.stall         7           0                       1
54br33        br.stall         10          0                       1
55ist1        icache.r         13          0                       1
56ist2        icache.r         14          0                       1
57istb1       icache_br        13          0                       1
58istb2       icache_br        14          0                       1
59mst1        mem.stall        9           0                       1
60mst2        mem.stall        10          0                       1
61mstd1       mem.stall_dep    9           0                       1
62mstd2       mem.stall_dep    10          0                       1
63loop1       simple_loop      25          0                       1
64loop2       simple_loop      70          0                       1
65mem1        stores_loads     55          0                       1
66mem2        stores_loads     103         0                       1
67mem3        memory_jsr       28          0                       1
68sub1        subroutine       46          0                       1
69sub2        subroutine       52          0                       1
70mem4        stores           55          3              x        0
71mem5        stores           60          4              x        0
72log2        misc             82          0                       1
73log2e       misc             22          0                       1
74swap        misc             110         0                       1
75=========================================================================
76Part B: Tests for correct functionality of instructions(2 points each)
77=========================================================================
78Instruction     Number of       Incorrect       Points
79                Differences
80=========================================================================
81example2        0                               2
82and             0                               2
83br              0                               2
84cc              0                               2
85jmp             0                               2
86jsr             0                               2
87jsrr            0                               2
88ldb             1                  x            1
89ldw             0                               2
90lea             0                               2
91lshf            0                               2
92nop             0                               2
93rshfan          0                               2
94rshfap          0                               2
95rshfl           0                               2
96lshf            0                               2
97stb             1                  x            1
98stw             0                               2
99trap            0                               2
100xor             0                               2
101=========================================================================
102Assignment 6: Total points 95 / 100
103=========================================================================
104EOF