diff options
Diffstat (limited to 'lib/arm/eqdf2vfp.S')
-rw-r--r-- | lib/arm/eqdf2vfp.S | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/arm/eqdf2vfp.S b/lib/arm/eqdf2vfp.S index 2998a76e0..c41e55a34 100644 --- a/lib/arm/eqdf2vfp.S +++ b/lib/arm/eqdf2vfp.S @@ -16,12 +16,13 @@ // Uses Darwin calling convention where double precision arguments are passsed // like in GPR pairs. // + .syntax unified .align 2 DEFINE_COMPILERRT_FUNCTION(__eqdf2vfp) - fmdrr d6, r0, r1 // load r0/r1 pair in double register - fmdrr d7, r2, r3 // load r2/r3 pair in double register - fcmpd d6, d7 - fmstat + vmov d6, r0, r1 // load r0/r1 pair in double register + vmov d7, r2, r3 // load r2/r3 pair in double register + vcmp.f64 d6, d7 + vmrs apsr_nzcv, fpscr moveq r0, #1 // set result register to 1 if equal movne r0, #0 bx lr |