~ahs3/+junk/cq-qemu

« back to all changes in this revision

Viewing changes to tests/xtensa/test_boolean.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
test_suite boolean
 
4
 
 
5
test all4
 
6
    movi    a2, 0xfec0
 
7
    wsr     a2, br
 
8
    all4    b0, b0
 
9
    rsr     a3, br
 
10
    assert  eq, a2, a3
 
11
    all4    b0, b4
 
12
    rsr     a3, br
 
13
    assert  eq, a2, a3
 
14
    all4    b0, b8
 
15
    rsr     a3, br
 
16
    assert  eq, a2, a3
 
17
    all4    b0, b12
 
18
    rsr     a3, br
 
19
    addi    a2, a2, 1
 
20
    assert  eq, a2, a3
 
21
test_end
 
22
 
 
23
test_suite_end