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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [sh64/] [media/] [fstxs.cgs] - Blame information for rev 373

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

Line No. Rev Author Line
1 330 jeremybenn
# sh testcase for fstx.s $rm, $rn, $frf -*- Asm -*-
2
# mach: all
3
# as: -isa=shmedia
4
# ld: -m shelf64
5
 
6
        .include "media/testutils.inc"
7
 
8
        start
9
        .global fstxs
10
fstxs:
11
        movi 0x1020, r0
12
        shlli r0, 8, r0
13
        ori r0, 0x30, r0
14
        shlli r0, 8, r0
15
        ori r0, 0x40, r0
16
        shlli r0, 8, r0
17
        ori r0, 0x50, r0
18
        shlli r0, 8, r0
19
        ori r0, 0x60, r0
20
        shlli r0, 8, r0
21
        ori r0, 0x70, r0
22
        shlli r0, 8, r0
23
        ori r0, 0x80, r0
24
        fmov.ls r0, fr0
25
        movi 0x2800, r1
26
        movi -8, r2
27
        fstx.s r1, r2, fr0
28
 
29
okay:
30
        pass

powered by: WebSVN 2.1.0

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