mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
Backport of the patch for bug52208 to 5.1 since the
root cause of 52208 resulted in another test failure in 5.1.
This commit is contained in:
parent
6537d79e45
commit
d2e58e4e49
1 changed files with 3 additions and 3 deletions
|
@ -190,9 +190,9 @@ typedef fp_except fp_except_t;
|
|||
# define fpu_control_t unsigned int
|
||||
# define _FPU_EXTENDED 0x300
|
||||
# define _FPU_DOUBLE 0x200
|
||||
# ifdef __GNUC__
|
||||
# define _FPU_GETCW(cw) __asm__ __volatile__("fnstcw %0" : "=m" (*&cw))
|
||||
# define _FPU_SETCW(cw) __asm__ __volatile__("fldcw %0" : : "m" (*&cw))
|
||||
# if defined(__GNUC__) || defined(__SUNPRO_CC)
|
||||
# define _FPU_GETCW(cw) asm volatile ("fnstcw %0" : "=m" (*&cw))
|
||||
# define _FPU_SETCW(cw) asm volatile ("fldcw %0" : : "m" (*&cw))
|
||||
# else
|
||||
# define _FPU_GETCW(cw) (cw= 0)
|
||||
# define _FPU_SETCW(cw)
|
||||
|
|
Loading…
Reference in a new issue