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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [sysvnecv70/] [fps.s] - Blame information for rev 1775

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

Line No. Rev Author Line
1 39 lampret
        .globl  _fpgetsticky
2
_fpgetsticky:
3
        getpsw    r0
4
        and.w     #0x1f00,r0
5
        shl.w     #0xf8,r0
6
        ret       #0x0
7
 
8
 
9
        .globl  _fpsetsticky
10
_fpsetsticky:
11
         getpsw   r0
12
         mov.w    [ap],r1
13
         shl.w    #0x8,r1
14
         updpsw.h r1,#0x1f00
15
         trapfl
16
         and.w    #0x1f00,r0
17
         shl.w    #0xf8,r0
18
         ret      #0x0

powered by: WebSVN 2.1.0

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