Skip to content

Commit

Permalink
Merge pull request opencv#15414 from kuzi117:instr
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Aug 30, 2019
2 parents 700f7a2 + 9bf8b49 commit f224d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/include/opencv2/core/fast_math.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
#define CV_INLINE_ROUND_DBL(value) \
int out; \
double temp; \
__asm__( "fctiw %[temp],%[in]\n\tmffprwz %[out],%[temp]\n\t" : [out] "=r" (out), [temp] "=d" (temp) : [in] "d" ((double)(value)) : ); \
__asm__( "fctiw %[temp],%[in]\n\tmfvsrwz %[out],%[temp]\n\t" : [out] "=r" (out), [temp] "=d" (temp) : [in] "d" ((double)(value)) : ); \
return out;

// FP32 also works with FP64 routine above
Expand Down

0 comments on commit f224d74

Please sign in to comment.