~ubuntu-branches/ubuntu/wily/qemu-kvm-spice/wily

« back to all changes in this revision

Viewing changes to tests/lm32/test_cmpnei.S

  • Committer: Bazaar Package Importer
  • Author(s): Serge Hallyn
  • Date: 2011-10-19 10:44:56 UTC
  • Revision ID: james.westby@ubuntu.com-20111019104456-xgvskumk3sxi97f4
Tags: upstream-0.15.0+noroms
ImportĀ upstreamĀ versionĀ 0.15.0+noroms

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.include "macros.inc"
 
2
 
 
3
start
 
4
 
 
5
test_name CMPNEI_1
 
6
mvi r1, 0
 
7
cmpnei r3, r1, 0
 
8
check_r3 0
 
9
 
 
10
test_name CMPNEI_2
 
11
mvi r1, 0
 
12
cmpnei r3, r1, 1
 
13
check_r3 1
 
14
 
 
15
test_name CMPNEI_3
 
16
mvi r1, 1
 
17
cmpnei r3, r1, 0
 
18
check_r3 1
 
19
 
 
20
test_name CMPNEI_4
 
21
load r1 0xffffffff
 
22
cmpnei r3, r1, -1
 
23
check_r3 0
 
24
 
 
25
test_name CMPNEI_5
 
26
mvi r3, 0
 
27
cmpnei r3, r3, 0
 
28
check_r3 0
 
29
 
 
30
test_name CMPNEI_6
 
31
mvi r3, 0
 
32
cmpnei r3, r3, 1
 
33
check_r3 1
 
34
 
 
35
end