test_bugfix_3_1.s
789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*******************************
*prog name: bugfix_3_1
*
*
*******************************/
.text
start: nop;
nop;
nop;
nop;
nop;
break;
lui $1, 0x1234
ori $1, $0, 0x5678
lui $2, 0xdead
ori $2, $0, 0xbeef
or $3, $1, $2;
xor $4, $1, $2;
nop;
sw $1, 0($0)
sw $2, 4($0)
sw $3, 8($0)
sw $4, 12($0)
lqv $v0, 0($0)
lqv $v1, 0($0)
lqv $v2, 0($0)
lqv $v3, 0($0)
lqv $v4, 0($0)
nop;
nop;
nop;
nop;
vmudl $v6, $v0, $v1;
vxor $v5, $v0, $v1;
beq $0, $0, L1f
sqv $v5,16($0)
or $8, $1, $2
and $7, $8, $8
nop;
nop;
L1f: lui $9, 0xcafe
xor $10, $9, $9
nop
nop
nop
nop
nop
nop
beq $0, $0, start
nop
nop