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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [sparc/] [pr4587.s] - Blame information for rev 156

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

Line No. Rev Author Line
1 38 julius
        .section .data
2
        .align 4
3
zero: .single 0.0
4
 
5
        .section .text
6
        .align 4
7
        .global main
8
main:
9
    save %sp, -96, %sp
10
 
11
    ! Zero-out the first FP register
12
    set zero, %l0
13
    ld [%l0], %f0
14
 
15
    ! Compare it to itself
16
    ! The third reg (%f0) will cause a segfault in as
17
    ! fcmps only takes two regs... this should be illegal operand error
18
    fcmps %f0, %f0, %f0
19
 
20
    ! Return 0
21
    ret
22
    restore %g0, %g0, %o0

powered by: WebSVN 2.1.0

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