summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/arm/unorddf2vfp.S
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/builtins/arm/unorddf2vfp.S')
-rw-r--r--compiler-rt/lib/builtins/arm/unorddf2vfp.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/builtins/arm/unorddf2vfp.S b/compiler-rt/lib/builtins/arm/unorddf2vfp.S
index 85563754700..6625fa8a311 100644
--- a/compiler-rt/lib/builtins/arm/unorddf2vfp.S
+++ b/compiler-rt/lib/builtins/arm/unorddf2vfp.S
@@ -27,6 +27,7 @@ DEFINE_COMPILERRT_FUNCTION(__unorddf2vfp)
vcmp.f64 d6, d7
#endif
vmrs apsr_nzcv, fpscr
+ ITE(vs)
movvs r0, #1 // set result register to 1 if "overflow" (any NaNs)
movvc r0, #0
bx lr
OpenPOWER on IntegriCloud