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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [tic4x/] [float.s] - Blame information for rev 853

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

Line No. Rev Author Line
1 205 julius
        ;; test float numbers and constants
2
        .text
3
        ;; Standard GAS syntax
4
start:  ldf     0e0, f0
5
        ldf     0e2.7, f0
6
        ldf     0e2.7e1, f0
7
        ldf     0e2.7e-1, f0
8
        ldf     0e-2.7e1, f0
9
        ldf     0e-2.7e-1, f0
10
        ldf     -0e1.0, f0
11
 
12
        ;; Standard TI syntax
13
        ldf     0, f0
14
        ldf     0.0, f0
15
        ldf     0.5, f0
16
        ldf     -0.5, f0
17
        ldf     2.7, f0
18
        ldf     2.7e-1, f0
19
        ldf     -2.7e1, f0
20
        ldf     -2.7e-1, f0
21
 
22
FLOAT:   .float   0f0, 0f1.0, 0f0.5, 0f-1.0, 0e-1.0e25, 3, 123, 0f3.141592654
23
SINGLE:  .single  0f0, 0f1.0, 0f0.5, 0f-1.0, 0e-1.0e25, 3, 123, 0f3.141592654
24
DOUBLE:  .double  0f0, 0f1.0, 0f0.5, 0f-1.0, 0e-1.0e25, 3, 123, 0f3.141592654
25
LDOUBLE: .ldouble 0f0, 0f1.0, 0f0.5, 0f-1.0, 0e-1.0e25, 3, 123, 0f3.141592654
26
IEEE:    .ieee    0f0, 0f1.0, 0f0.5, 0f-1,0, 0e-1.0e25, 3, 123, 0f3.141592654
27
 
28
        .end

powered by: WebSVN 2.1.0

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