diff options
Diffstat (limited to 'lib/builtins/arm/unordsf2vfp.S')
-rw-r--r-- | lib/builtins/arm/unordsf2vfp.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/builtins/arm/unordsf2vfp.S b/lib/builtins/arm/unordsf2vfp.S index 2b16b4905c48..0b5da2ba3e17 100644 --- a/lib/builtins/arm/unordsf2vfp.S +++ b/lib/builtins/arm/unordsf2vfp.S @@ -27,6 +27,7 @@ DEFINE_COMPILERRT_FUNCTION(__unordsf2vfp) vcmp.f32 s14, s15 #endif vmrs apsr_nzcv, fpscr + ITE(vs) movvs r0, #1 // set result register to 1 if "overflow" (any NaNs) movvc r0, #0 bx lr |