Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fps.s « sysvi386 « sys « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 83214dff4049ccc94105c9d91a10a36a6ab1514c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
	.globl	_fpgetsticky
_fpgetsticky:
	getpsw	  r0
	and.w	  #0x1f00,r0
	shl.w	  #0xf8,r0
	ret	  #0x0


	.globl	_fpsetsticky	
_fpsetsticky:
	 getpsw	  r0
	 mov.w	  [ap],r1
	 shl.w	  #0x8,r1
	 updpsw.h r1,#0x1f00
	 trapfl
	 and.w	  #0x1f00,r0
	 shl.w	  #0xf8,r0
	 ret	  #0x0