diff options
author | Ed Schouten <ed@FreeBSD.org> | 2011-12-31 14:55:23 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2011-12-31 14:55:23 +0000 |
commit | 219fb0488994a289f1087f7b3da18789e068da12 (patch) | |
tree | d59ced7e19afaab87432b7610faefff3080e8d2a /lib/arm/gesf2vfp.S | |
parent | b0a04aaa595ba76468e521f12727a872d144d6d0 (diff) |
Import compiler-rt r147390.vendor/compiler-rt/compiler-rt-r147390
Notes
Notes:
svn path=/vendor/compiler-rt/dist/; revision=229109
svn path=/vendor/compiler-rt/compiler-rt-r147390/; revision=229110; tag=vendor/compiler-rt/compiler-rt-r147390
Diffstat (limited to 'lib/arm/gesf2vfp.S')
-rw-r--r-- | lib/arm/gesf2vfp.S | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/arm/gesf2vfp.S b/lib/arm/gesf2vfp.S index 9ce168259bbe..02da35c02e92 100644 --- a/lib/arm/gesf2vfp.S +++ b/lib/arm/gesf2vfp.S @@ -16,12 +16,13 @@ // Uses Darwin calling convention where single precision arguments are passsed // like 32-bit ints // + .syntax unified .align 2 DEFINE_COMPILERRT_FUNCTION(__gesf2vfp) - fmsr s14, r0 // move from GPR 0 to float register - fmsr s15, r1 // move from GPR 1 to float register - fcmps s14, s15 - fmstat + vmov s14, r0 // move from GPR 0 to float register + vmov s15, r1 // move from GPR 1 to float register + vcmp.f32 s14, s15 + vmrs apsr_nzcv, fpscr movge r0, #1 // set result register to 1 if greater than or equal movlt r0, #0 bx lr |