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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [msllhi.cgs] - Blame information for rev 24

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

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for msllhi $FRi,$s6,$FRk
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global msllhi
9
msllhi:
10
        set_fr_iimmed   2,2,fr8
11
        msllhi          fr8,0x20,fr8    ; Shift by 0
12
        test_fr_limmed  2,2,fr8
13
 
14
        set_fr_iimmed   2,2,fr8
15
        msllhi          fr8,0,fr8       ; Shift by 0
16
        test_fr_limmed  2,2,fr8
17
 
18
        set_fr_iimmed   2,2,fr8
19
        msllhi          fr8,1,fr8       ; Shift by 1
20
        test_fr_limmed  4,4,fr8
21
 
22
        set_fr_iimmed   1,1,fr8
23
        msllhi          fr8,31,fr8      ; Shift by 15
24
        test_fr_limmed  0x8000,0x8000,fr8
25
 
26
        set_fr_iimmed   0xdead,0xbeef,fr8
27
        msllhi          fr8,15,fr8
28
        test_fr_iimmed  0x80008000,fr8
29
 
30
        pass

powered by: WebSVN 2.1.0

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