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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [sh64/] [compact/] [ldsl-fpul.cgs] - Blame information for rev 827

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

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for lds.l @${rn}+, fpul -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
 
6
        .include "compact/testutils.inc"
7
 
8
        start
9
 
10
        .global ldsl_fpul
11
ldsl_fpul:
12
        mov #40, r0
13
        shll8 r0
14
        # remember the address.
15
        mov r0, r1
16
        lds.l @r0+, fpul
17
 
18
        # ensure post increment occurred.
19
        add #4, r1
20
        cmp/eq r0, r1
21
        bf wrong
22
 
23
okay:
24
        pass
25
wrong:
26
        fail
27
 

powered by: WebSVN 2.1.0

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