(perform_fixdfsi): Copy arg to memory variable.
authorRichard Stallman <rms@gnu.org>
Wed, 23 Sep 1992 03:39:59 +0000 (03:39 +0000)
committerRichard Stallman <rms@gnu.org>
Wed, 23 Sep 1992 03:39:59 +0000 (03:39 +0000)
From-SVN: r2209

gcc/config/i386/mach.h

index f87ecf2cc229ccc39add5574e342c462e625500f..6ee7f4aa8631761fd59d39e0cd87c4f24ae7db2a 100644 (file)
   auto unsigned short ostatus;                                         \
   auto unsigned short nstatus;                                         \
   auto int ret;                                                                \
+  auto double tmp;                                                     \
                                                                        \
   &ostatus;                    /* guarantee these land in memory */    \
   &nstatus;                                                            \
   &ret;                                                                        \
+  &tmp;                                                                        \
                                                                        \
   asm volatile ("fnstcw %0" : "=m" (ostatus));                         \
   nstatus = ostatus | 0x0c00;                                          \
   asm volatile ("fldcw %0" : /* no outputs */ : "m" (nstatus));                \
-  asm volatile ("fldl %0" : /* no outputs */ : "m" (a));               \
+  tmp = a;                                                             \
+  asm volatile ("fldl %0" : /* no outputs */ : "m" (tmp));             \
   asm volatile ("fistpl %0" : "=m" (ret));                             \
   asm volatile ("fldcw %0" : /* no outputs */ : "m" (ostatus));                \
                                                                        \