~ahs3/+junk/cq-qemu

« back to all changes in this revision

Viewing changes to tests/lm32/test_cmpgeui.S

  • Committer: Al Stone
  • Date: 2012-02-09 01:17:20 UTC
  • Revision ID: albert.stone@canonical.com-20120209011720-tztl7ik3qayz80p4
first commit to bzr for qemu

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.include "macros.inc"
 
2
 
 
3
start
 
4
 
 
5
test_name CMPGEUI_1
 
6
mvi r1, 0
 
7
cmpgeui r3, r1, 0
 
8
check_r3 1
 
9
 
 
10
test_name CMPGEUI_2
 
11
mvi r1, 0
 
12
cmpgeui r3, r1, 1
 
13
check_r3 0
 
14
 
 
15
test_name CMPGEUI_3
 
16
mvi r1, 1
 
17
cmpgeui r3, r1, 0
 
18
check_r3 1
 
19
 
 
20
test_name CMPGEUI_4
 
21
mvi r1, 1
 
22
cmpgeui r3, r1, 1
 
23
check_r3 1
 
24
 
 
25
test_name CMPGEUI_5
 
26
mvi r1, 0
 
27
cmpgeui r3, r1, 0xffff
 
28
check_r3 0
 
29
 
 
30
test_name CMPGEUI_6
 
31
mvi r1, -1
 
32
cmpgeui r3, r1, 0
 
33
check_r3 1
 
34
 
 
35
test_name CMPGEUI_7
 
36
mvi r1, -1
 
37
cmpgeui r3, r1, 0xffff
 
38
check_r3 1
 
39
 
 
40
test_name CMPGEUI_8
 
41
mvi r3, 0
 
42
cmpgeui r3, r3, 1
 
43
check_r3 0
 
44
 
 
45
test_name CMPGEUI_9
 
46
mvi r3, 1
 
47
cmpgeui r3, r3, 0
 
48
check_r3 1
 
49
 
 
50
test_name CMPGEUI_10
 
51
mvi r3, 0
 
52
cmpgeui r3, r3, 0
 
53
check_r3 1
 
54
 
 
55
end