OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [d10v-elf/] [t-slae.s] - Blame information for rev 308

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
.include "t-macros.i"
2
 
3
        start
4
 
5
test_slae_1:
6
        loadpsw2 PSW_ST|PSW_FX
7
        loadacc2 a0 0x00 0x0AFF 0xF000
8
        ldi r0, 4
9
        slae a0, r0
10
        checkacc2 1 a0 0x00 0x7FFF 0xFFFF
11
 
12
test_slae_2:
13
        loadpsw2 PSW_ST|PSW_FX
14
        loadacc2 a0 0xFF 0xF700 0x1000
15
        ldi r0, 4
16
        slae a0, r0
17
        checkacc2 2 a0 0xFF 0x8000 0x0000
18
 
19
test_slae_3:
20
        loadpsw2 PSW_ST|PSW_FX
21
        loadacc2 a0 0x00 0x0010 0xA000
22
        ldi r0, 4
23
        slae a0, r0
24
        checkacc2 3 a0 0x00 0x010A 0x0000
25
 
26
test_slae_4:
27
        loadpsw2 0
28
        loadacc2 a0 0x00 0x0010 0xA000
29
        ldi r0, 4
30
        slae a0, r0
31
        checkacc2 4 a0 0x00 0x010A 0x0000
32
 
33
test_slae_5:
34
        loadacc2 a0 0x00 0x0010 0xA000
35
        ldi r0, -4
36
        slae a0, r0
37
        checkacc2 4 a0 0x00 0x0001 0x0A00
38
 
39
        exit0

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.