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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gdb/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [mhtob.cgs] - Blame information for rev 26

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 26 jlechner
# frv testcase for mhtob $FRj,$FRk
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global mhtob
9
mhtob:
10
        set_fr_iimmed   0x00ad,0x00ef,fr10
11
        set_fr_iimmed   0x0034,0x0078,fr11
12
        mhtob           fr10,fr12
13
        test_fr_limmed  0xadef,0x3478,fr12
14
 
15
        set_fr_iimmed   0xdead,0xbeef,fr10      ; saturation
16
        set_fr_iimmed   0x1234,0x5678,fr11
17
        mhtob           fr10,fr12
18
        test_fr_limmed  0xffff,0xffff,fr12
19
 
20
        set_fr_iimmed   0x0134,0x0878,fr10      ; saturation
21
        set_fr_iimmed   0x10ad,0x80ef,fr11
22
        mhtob           fr10,fr12
23
        test_fr_limmed  0xffff,0xffff,fr12
24
 
25
        pass

powered by: WebSVN 2.1.0

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