Quantcast

vex: r3356 - /trunk/priv/guest_mips_helpers.c

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

vex: r3356 - /trunk/priv/guest_mips_helpers.c

svn-2
Author: petarj
Date: Tue Apr 25 18:28:01 2017
New Revision: 3356

Log:
mips: add missing assembler directive to ASM_VOLATILE_UNARY64

Clang is picky and notices we have not explicitly set up fp64 mode.
This fixes issue with Clang build.

Modified:
    trunk/priv/guest_mips_helpers.c

Modified: trunk/priv/guest_mips_helpers.c
==============================================================================
--- trunk/priv/guest_mips_helpers.c (original)
+++ trunk/priv/guest_mips_helpers.c Tue Apr 25 18:28:01 2017
@@ -497,6 +497,7 @@
 #define ASM_VOLATILE_UNARY64(inst)                                  \
    __asm__ volatile(".set  push"         "\n\t"                     \
                     ".set  hardfloat"    "\n\t"                     \
+                    ".set  fp=64"        "\n\t"                     \
                     "cfc1  $t0,  $31"    "\n\t"                     \
                     "ctc1  %2,   $31"    "\n\t"                     \
                     "ldc1  $f24, 0(%1)"  "\n\t"                     \


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers
Loading...