From: Petar Jovanovic Date: Tue, 25 Apr 2017 17:28:01 +0000 (+0000) Subject: mips: add missing assembler directive to ASM_VOLATILE_UNARY64 X-Git-Tag: svn/VALGRIND_3_13_0^2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fefc7425f286986aa643706b23d9a4f14587c46b;p=thirdparty%2Fvalgrind.git 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. git-svn-id: svn://svn.valgrind.org/vex/trunk@3356 --- diff --git a/VEX/priv/guest_mips_helpers.c b/VEX/priv/guest_mips_helpers.c index 1183d7a84f..0ed8f5005d 100644 --- a/VEX/priv/guest_mips_helpers.c +++ b/VEX/priv/guest_mips_helpers.c @@ -497,6 +497,7 @@ ULong mips64_dirtyhelper_rdhwr ( ULong rt, ULong rd ) #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" \