switch arm, sh, and mips fenv asm from .sub system to .S files
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#if __ARM_PCS_VFP
|
||||
|
||||
.syntax unified
|
||||
.fpu vfp
|
||||
|
||||
@@ -63,3 +65,5 @@ fesetenv:
|
||||
fmxr fpscr, r3
|
||||
mov r0, #0
|
||||
bx lr
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,3 @@
|
||||
#if !__ARM_PCS_VFP
|
||||
#include "../fenv.c"
|
||||
#endif
|
||||
@@ -1 +0,0 @@
|
||||
../armhf/fenv.s
|
||||
@@ -1 +0,0 @@
|
||||
fenv.s
|
||||
@@ -1 +0,0 @@
|
||||
../fenv.c
|
||||
@@ -0,0 +1,3 @@
|
||||
#ifdef __mips_soft_float
|
||||
#include "../fenv.c"
|
||||
#endif
|
||||
@@ -1,3 +1,5 @@
|
||||
#ifndef __mips_soft_float
|
||||
|
||||
.set noreorder
|
||||
|
||||
.global feclearexcept
|
||||
@@ -65,3 +67,5 @@ fesetenv:
|
||||
1: ctc1 $5, $31
|
||||
jr $ra
|
||||
li $2, 0
|
||||
|
||||
#endif
|
||||
@@ -1 +0,0 @@
|
||||
../fenv.c
|
||||
@@ -1 +0,0 @@
|
||||
../fenv.c
|
||||
@@ -0,0 +1,3 @@
|
||||
#if !__SH_FPU_ANY__ && !__SH4__
|
||||
#include "../fenv.c"
|
||||
#endif
|
||||
@@ -1,3 +1,5 @@
|
||||
#if __SH_FPU_ANY__ || __SH4__
|
||||
|
||||
.global fegetround
|
||||
.type fegetround, @function
|
||||
fegetround:
|
||||
@@ -72,3 +74,5 @@ fesetenv:
|
||||
2: lds r0, fpscr
|
||||
rts
|
||||
mov #0, r0
|
||||
|
||||
#endif
|
||||
@@ -1 +0,0 @@
|
||||
../fenv.c
|
||||
Reference in New Issue
Block a user