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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [sparc/] [pr4587.s] - Blame information for rev 205

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 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.